ASN1C C# Runtime Library  7.8
Public Member Functions | List of all members
Asn1XmlSaxSimpleType Class Reference
Inheritance diagram for Asn1XmlSaxSimpleType:
Asn1XerSaxHandler XmlSaxDefaultHandler XmlSaxContentHandler XmlSaxErrorHandler XmlSaxEntityResolver

Public Member Functions

String GetText ()
 
- Public Member Functions inherited from Asn1XerSaxHandler
bool ConsumeStartElement (String namespaceURI, String localName, String qName, XmlAttributes atts)
 
virtual void EndGroup ()
 
override void Error (System.Xml.XmlException exception)
 
override void FatalError (System.Xml.XmlException exception)
 
virtual void Init (int startLevel)
 
bool IsDecodingAsGroup ()
 
void SetComplete ()
 
override void Warning (System.Xml.XmlException exception)
 
- Public Member Functions inherited from XmlSaxDefaultHandler
virtual void Characters (char[] ch, int start, int length)
 
virtual void EndDocument ()
 
virtual void EndElement (System.String ns, System.String localName, System.String qName)
 
virtual void EndPrefixMapping (System.String prefix)
 
virtual void IgnorableWhitespace (char[] chars, int start, int length)
 
virtual void ProcessingInstruction (System.String target, System.String data)
 
virtual XmlSource ResolveEntity (System.String publicId, System.String systemId)
 
virtual void SetDocumentLocator (XmlSaxLocator locator)
 
virtual void SkippedEntity (System.String name)
 
virtual void StartDocument ()
 
virtual void StartElement (System.String ns, System.String localName, System.String qName, XmlAttributes attributes)
 
virtual void StartPrefixMapping (System.String prefix, System.String uri)
 

Additional Inherited Members

- Protected Attributes inherited from Asn1XerSaxHandler
bool mConsumedStartElement
 
- Properties inherited from Asn1XerSaxHandler
bool Complete [get]
 
virtual int State [get]
 

Detailed Description

SAX Handler for simple types.

remarks>This handler captures all text for the first element for which startElement is invoked. Once the all text is captured and the corresponding EndElement is invoked, there are two possibilities: 1) if you passed an Asn1Type for element to the constructor, this handler will invoke element.DecodeXML to decode the XML text into that object. 2) if you passed null for the constructor's element argument, then you may use GetText() to get the XML element's text. /remarks>

Member Function Documentation

◆ GetText()

String GetText ( )

After endElement has been triggered, this may be used to obtain the XML element's text.