Xalan-C++ API Documentation
Go to the documentation of this file.
18 #if !defined(XALANLOCATOR_HEADER_GUARD_1357924680)
19 #define XALANLOCATOR_HEADER_GUARD_1357924680
28 #include <xercesc/sax/Locator.hpp>
32 XALAN_CPP_NAMESPACE_BEGIN
73 static const XalanDOMChar*
75 const Locator* theLocator,
76 const XalanDOMChar* theAlternateId = getEmptyPtr())
78 return theLocator == 0 ? theAlternateId : (theLocator->getPublicId() ?
79 theLocator->getPublicId() : theAlternateId);
88 static const XalanDOMChar*
90 const Locator* theLocator,
91 const XalanDOMChar* theAlternateId = getEmptyPtr())
93 return theLocator == 0 ? theAlternateId : (theLocator->getSystemId() ?
94 theLocator->getSystemId() : theAlternateId);
103 return theLocator == 0 ? getUnknownValue() : theLocator->getLineNumber();
112 return theLocator == 0 ? getUnknownValue() : theLocator->getColumnNumber();
120 return ~static_cast<XalanFileLoc>(0);
129 return static_cast<XalanFileLoc
>(0);
135 return theLocation == getUnknownValue();
154 static const XalanDOMChar * getEmptyPtr()
156 static const XalanDOMChar theZero = 0;
157 static const XalanDOMChar * theEmpty = &theZero;
162 XALAN_CPP_NAMESPACE_END
166 #endif // PREFIXRESOLVER_HEADER_GUARD_1357924680
virtual const XMLCh * getPublicId() const =0
This class defines a base class for Locator derivations in Xalan.
virtual XalanFileLoc getLineNumber() const =0
static XalanFileLoc getLineNumber(const ParentType *theLocator)
Get the line number from a locator object.
static XalanFileLoc getUnknownValue()
static const XalanDOMChar * getSystemId(const Locator *theLocator, const XalanDOMChar *theAlternateId=getEmptyPtr())
Get the system identifier from a locator object.
XALAN_CPP_NAMESPACE_BEGIN XALAN_USING_XERCES(Locator)
static XalanFileLoc getColumnNumber(const ParentType *theLocator)
Get the column number from a locator object.
static const XalanDOMChar * getPublicId(const Locator *theLocator, const XalanDOMChar *theAlternateId=getEmptyPtr())
Get the public identifier from a locator object.
static bool isUnknownValue(XalanFileLoc theLocation)
virtual const XMLCh * getSystemId() const =0
virtual XalanFileLoc getColumnNumber() const =0
static XalanFileLoc getUnknownDisplayValue()
Interpreting class diagrams
Doxygen and
GraphViz are
used to generate this API documentation from the Xalan-C header files.
Xalan-C++ XSLT Processor Version 1.11
Copyright © 1999-2012 The Apache Software Foundation.
All Rights Reserved.
|
|