XmlProcessor Class

Definition

Line 43 of System.Xml/XmlProcessor.cm

Constructors & Destructor

public XmlProcessor(TrivialLexer& lexer_, XmlContentHandler* contentHandler_)
public suppress XmlProcessor(XmlProcessor&&)
public suppress XmlProcessor(const XmlProcessor&)

Member Functions

public void AddAttribute(const String<uchar>& attName, const String<uchar>& attValue, const Span& span, const String<char>& systemId)
public String<uchar>& AttValue()
public const String<uchar>& AttValue() const
public void BeginAttributeValue()
public void BeginStartTag(const String<uchar>& tagName)
public void CDataSection(const String<uchar>& cdata)
public void Comment(const String<uchar>& text)
public void Encoding(const String<uchar>& encoding)
public void EndAttributeValue()
public void EndDocument()
public void EndStartTag(const Span& span, const String<char>& systemId)
public void EndTag(const String<uchar>& tagName, const Span& span, const String<char>& systemId)
public void EntityRef(const String<uchar>& entityName, const Span& span, const String<char>& systemId)
public int GetErrorColumn(int index) const
public String<char> GetErrorLocationStr(const String<char>& systemId, const Span& span) const
public String<uchar> GetNamespaceUri(const String<uchar>& namespacePrefix, const Span& span, const String<char>& systemId)
public TrivialLexer& Lexer() const
public void PI(const String<uchar>& target, const String<uchar>& data)
public void ParseQualifiedName(const String<uchar>& qualifiedName, String<uchar>& localName, String<uchar>& prefix, const Span& span, const String<char>& systemId)
public void Standalone(bool standalone)
public void StartDocument()
public void Text(const String<uchar>& text)
public void Version(const String<uchar>& version)
public suppress XmlProcessor&& operator=(XmlProcessor&&)
public suppress XmlProcessor& operator=(const XmlProcessor&)

Member Variables

private String<uchar> attValue
private Stack<String<uchar>> attValueStack
private Attributes attributes
private XmlContentHandler* contentHandler
private String<uchar> currentNamespacePrefix
private String<uchar> currentNamespaceUri
private String<uchar> currentTagName
private List<UniquePtr<Entity>> entities
private HashMap<String<uchar>, Entity*, Hasher<String<uchar>>, EqualTo<String<uchar>>> entityMap
private TrivialLexer& lexer
private HashMap<String<uchar>, String<uchar>, Hasher<String<uchar>>, EqualTo<String<uchar>>> namespacePrefixMap
private Stack<String<uchar>> namespacePrefixStack
private Stack<String<uchar>> namespaceUriStack
private Stack<String<uchar>> tagStack

Constructor& Destructor Details

XmlProcessor Constructor

public XmlProcessor(TrivialLexer& lexer_, XmlContentHandler* contentHandler_)

Definition
Line 47 of System.Xml/XmlProcessor.cm


XmlProcessor Constructor

public suppress XmlProcessor(XmlProcessor&&)

Definition
Line 46 of System.Xml/XmlProcessor.cm


XmlProcessor Constructor

public suppress XmlProcessor(const XmlProcessor&)

Definition
Line 45 of System.Xml/XmlProcessor.cm


Member Function Details

AddAttribute Member Function

public void AddAttribute(const String<uchar>& attName, const String<uchar>& attValue, const Span& span, const String<char>& systemId)

Definition
Line 170 of System.Xml/XmlProcessor.cm


AttValue Member Function

public String<uchar>& AttValue()

Definition
Line 72 of System.Xml/XmlProcessor.cm


AttValue Member Function

public const String<uchar>& AttValue()

Definition
Line 68 of System.Xml/XmlProcessor.cm


BeginAttributeValue Member Function

public void BeginAttributeValue()

Definition
Line 220 of System.Xml/XmlProcessor.cm


BeginStartTag Member Function

public void BeginStartTag(const String<uchar>& tagName)

Definition
Line 116 of System.Xml/XmlProcessor.cm


CDataSection Member Function

public void CDataSection(const String<uchar>& cdata)

Definition
Line 100 of System.Xml/XmlProcessor.cm


Comment Member Function

public void Comment(const String<uchar>& text)

Definition
Line 92 of System.Xml/XmlProcessor.cm


Encoding Member Function

public void Encoding(const String<uchar>& encoding)

Definition
Line 112 of System.Xml/XmlProcessor.cm


EndAttributeValue Member Function

public void EndAttributeValue()

Definition
Line 225 of System.Xml/XmlProcessor.cm


EndDocument Member Function

public void EndDocument()

Definition
Line 84 of System.Xml/XmlProcessor.cm


EndStartTag Member Function

public void EndStartTag(const Span& span, const String<char>& systemId)

Definition
Line 124 of System.Xml/XmlProcessor.cm


EndTag Member Function

public void EndTag(const String<uchar>& tagName, const Span& span, const String<char>& systemId)

Definition
Line 135 of System.Xml/XmlProcessor.cm


EntityRef Member Function

public void EntityRef(const String<uchar>& entityName, const Span& span, const String<char>& systemId)

Definition
Line 191 of System.Xml/XmlProcessor.cm


GetErrorColumn Member Function

public int GetErrorColumn(int index)

Definition
Line 268 of System.Xml/XmlProcessor.cm


GetErrorLocationStr Member Function

public String<char> GetErrorLocationStr(const String<char>& systemId, const Span& span)

Definition
Line 282 of System.Xml/XmlProcessor.cm


GetNamespaceUri Member Function

public String<uchar> GetNamespaceUri(const String<uchar>& namespacePrefix, const Span& span, const String<char>& systemId)

Definition
Line 234 of System.Xml/XmlProcessor.cm


Lexer Member Function

public TrivialLexer& Lexer()

Definition
Line 76 of System.Xml/XmlProcessor.cm


PI Member Function

public void PI(const String<uchar>& target, const String<uchar>& data)

Definition
Line 96 of System.Xml/XmlProcessor.cm


ParseQualifiedName Member Function

public void ParseQualifiedName(const String<uchar>& qualifiedName, String<uchar>& localName, String<uchar>& prefix, const Span& span, const String<char>& systemId)

Definition
Line 250 of System.Xml/XmlProcessor.cm


Standalone Member Function

public void Standalone(bool standalone)

Definition
Line 108 of System.Xml/XmlProcessor.cm


StartDocument Member Function

public void StartDocument()

Definition
Line 80 of System.Xml/XmlProcessor.cm


Text Member Function

public void Text(const String<uchar>& text)

Definition
Line 88 of System.Xml/XmlProcessor.cm


Version Member Function

public void Version(const String<uchar>& version)

Definition
Line 104 of System.Xml/XmlProcessor.cm


operator= Member Function

public suppress XmlProcessor&& operator=(XmlProcessor&&)

Definition
Line 67 of System.Xml/XmlProcessor.cm


operator= Member Function

public suppress XmlProcessor& operator=(const XmlProcessor&)

Definition
Line 66 of System.Xml/XmlProcessor.cm