ASN1C C# Runtime Library
7.3
|
Public Member Functions | |
virtual XmlSaxContentHandler | GetContentHandler () |
virtual XmlSaxEntityResolver | GetEntityResolver () |
virtual XmlSaxErrorHandler | GetErrorHandler () |
virtual void | Parse (System.IO.FileInfo filepath, XmlSaxContentHandler handler) |
virtual void | Parse (System.String filepath, XmlSaxContentHandler handler) |
virtual void | Parse (System.IO.Stream stream, XmlSaxContentHandler handler) |
virtual void | Parse (System.IO.Stream stream, XmlSaxContentHandler handler, System.String URI) |
virtual void | Parse (XmlSource source, XmlSaxContentHandler handler) |
virtual void | Parse (System.IO.FileInfo filepath) |
virtual void | Parse (System.String filepath) |
virtual void | Parse (System.IO.Stream stream) |
virtual void | Parse (System.IO.Stream stream, System.String URI) |
virtual void | Parse (XmlSource source) |
virtual void | SetContentHandler (XmlSaxContentHandler handler) |
virtual void | SetDocumentHandler (XmlSaxContentHandler handler) |
virtual void | SetEntityResolver (XmlSaxEntityResolver resolver) |
virtual void | SetErrorHandler (XmlSaxErrorHandler handler) |
XmlSaxParser () | |
Static Public Member Functions | |
static XmlSaxParser | CloneInstance (XmlSaxParser instance) |
static XmlSaxParser | NewInstance () |
Protected Attributes | |
XmlSaxContentHandler | callBackHandler |
XmlSaxEntityResolver | entityResolver |
XmlSaxErrorHandler | errorHandler |
XmlSaxLexicalHandler | lexical |
XmlSaxLocatorImpl | locator |
bool | namespaceAllowed |
System.String | parserFileName |
System.Xml.XmlTextReader | reader |
Properties | |
bool | NamespaceAllowed [get, set] |
Emulates the SAX parsers behaviours.
XmlSaxParser | ( | ) |
Public constructor for the class.
|
static |
Create a clone instance of 'XmlSaxParser'.
instance | The XmlSaxParser instance to be cloned. |
References XmlSaxParser.GetContentHandler(), XmlSaxParser.GetErrorHandler(), XmlSaxParser.NamespaceAllowed, XmlSaxParser.parserFileName, XmlSaxParser.SetDocumentHandler(), and XmlSaxParser.SetErrorHandler().
|
virtual |
Obtains the object that will handle all the content events.
Referenced by XmlSaxParser.CloneInstance().
|
virtual |
Returns the current entity resolver.
|
virtual |
Assigns the object that will handle all the error events.
Referenced by XmlSaxParser.CloneInstance().
|
static |
Returns a new instance of 'XmlSaxParser'.
|
virtual |
Parses the specified file and process the events over the specified handler.
filepath | The file to be used. |
handler | The handler that manages the parser events. |
References XmlSaxErrorHandler.FatalError().
|
virtual |
Parses the specified file path and process the events over the specified handler.
filepath | The path of the file to be used. |
handler | The handler that manage the parser events. |
References XmlSaxErrorHandler.FatalError().
|
virtual |
Parses the specified stream and process the events over the specified handler.
stream | The stream with the XML. |
handler | The handler that manage the parser events. |
References XmlSaxErrorHandler.FatalError().
|
virtual |
Parses the specified stream and process the events over the specified handler, and resolves the entities with the specified URI.
stream | The stream with the XML. |
handler | The handler that manage the parser events. |
URI | The namespace URI for resolve external etities. |
References XmlSaxErrorHandler.FatalError().
|
virtual |
Parses the specified 'XmlSource' instance and process the events over the specified handler, and resolves the entities with the specified URI.
source | The 'XmlSource' that contains the XML. |
handler | The handler that manages the parser events. |
References XmlSource.Bytes, XmlSource.Characters, and XmlSource.Uri.
|
virtual |
Parses the specified file and process the events over previously specified handler.
filepath | The file with the XML. |
References XmlSaxErrorHandler.FatalError().
|
virtual |
Parses the specified file path and processes the events over previously specified handler.
filepath | The path of the file with the XML. |
References XmlSaxErrorHandler.FatalError().
|
virtual |
Parses the specified stream and process the events over previusly specified handler.
stream | The stream with the XML. |
References XmlSaxErrorHandler.FatalError().
|
virtual |
Parses the specified stream and processes the events over previously specified handler, and resolves the external entities with the specified URI.
stream | The stream with the XML. |
URI | The namespace URI for resolve external etities. |
References XmlSaxErrorHandler.FatalError().
|
virtual |
Parses the specified 'XmlSource' and processes the events over the specified handler, and resolves the entities with the specified URI.
source | The 'XmlSource' instance with the XML. |
References XmlSource.Bytes, XmlSource.Characters, and XmlSource.Uri.
|
virtual |
Assigns the object that will handle all the content events.
handler | The object that handles the content events. |
|
virtual |
Assigns the object that will handle all the document events.
handler | The object that handles the content events. |
Referenced by XmlSaxParser.CloneInstance().
|
virtual |
Allows an application to register an entity resolver.
resolver | The entity resolver. |
|
virtual |
Assigns the object that will handle all the error events.
handler | The object that handles the errors events. |
Referenced by XmlSaxParser.CloneInstance().
|
protected |
XmlSaxContentHandler variable manages the Content events of a XML document.
|
protected |
XmlSaxEntityResolver variable for resolving entities
|
protected |
XmlSaxErrorHandler variable manages errors during the parsing of a XML document
|
protected |
XmlSaxLexicalHandler variable manages the Content events of a XML document
|
protected |
XmlSaxLocatorImpl variable to emulates the SAX LocatorImpl behaviors.
|
protected |
Bool variable manages XML document namespace processing.
|
protected |
String variable holds the XER or XML message file name
Referenced by XmlSaxParser.CloneInstance().
|
protected |
XmlTextReader variable manages XML document parsing.
|
getset |
Indicates whether the 'XmlSaxParser' allows namespaces.
Referenced by XmlSaxParser.CloneInstance().