30 #include <xercesc/sax/Locator.hpp>
31 #include <xercesc/sax2/Attributes.hpp>
32 #include <xercesc/util/XMLChar.hpp>
33 #include <xercesc/util/XMLString.hpp>
44 m_isInContractedForm(false)
70 m_isInContractedForm =
true;
76 m_localname = localname;
106 m_localname = localname;
115 m_nspaces.push_back(std::pair<const XMLCh*, const XMLCh*>(prefix, uri));
140 return m_isInContractedForm;
145 m_isInContractedForm = d;
void processingInstruction(const XMLCh *const target, const XMLCh *const data)
It receives notification of a processing instruction.
void endPrefixMapping(const XMLCh *const prefix)
It receives notification of the end of an namespace prefix mapping.
void setNodeType(te::xml::NodeType type)
void setDocumentLocator(const xercesc::Locator *const locator)
It receives an object for locating the origin of SAX document events.
NodeType
The type of node read by XML reader.
void characters(const XMLCh *const chars, const XMLSize_t length)
It receives notification of character data.
void ignorableWhitespace(const XMLCh *const chars, const XMLSize_t length)
It receives notification of ignorable whitespace in element content.
This class implements Xerces interface for a handler that receives general document events...
void startDocument()
It receives notification of the beginning of a document.
void endDocument()
It receives notification of the end of a document.
te::xml::NodeType getNodeType() const
It return the type of node read by the handler.
ReaderHandler()
Default constructor.
void endElement(const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname)
It receives notification of the end of an element.
void startPrefixMapping(const XMLCh *const prefix, const XMLCh *const uri)
It receives notification of the start of an namespace prefix mapping.
bool isInContractedForm() const
void setInContractedForm(bool d)
void skippedEntity(const XMLCh *const name)
It receives notification of a skipped entity.
void startElement(const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname, const xercesc::Attributes &attrs)
It receives notification of the beginning of an element.