EppParser
This EppParser
class is designed to parse and validate EPP XML messages against EPP XML Schema.
Inheritance:
Public Methods
-
EppParser()
- Creates an
EppParser
object
-
EppParser( const DOMString& string )
- Creates an
EppParser
object, given an EPP XML payload string
-
EppParser( const char* string )
- Creates an
EppParser
object, given an EPP XML payload string
-
EppParser( const char* string, int length )
- Creates an
EppParser
object, given an EPP XML payload string and its length
-
~EppParser()
- Destructor for an
EppParser
object
-
DOMParser& getParser()
- Gets the DOM Parser used for parsing EPP messages
-
void parse( const DOMString& string )
- Parses an EPP message string
-
void parse( const char* string )
- Parses an EPP message string
-
void parse( const char* string, int length )
- Parses an EPP message string, given its length
-
void parseFile( const char* file )
- Parses an EPP message stored in a file
-
DOM_Document& getDocument()
- Gets
DOM_Document
object after parsing
-
bool hasError()
- Checks if there is any errors after parsing
-
EppResult* getResult()
- Gets parsing result as an
EppResult
object
-
DOM_Node getRootNode()
- Gets the root "epp" node of parsing result as an
Node
object.
-
void warning( const SAXParseException& e )
-
ErrorHandler
method - Warnings
-
void error( const SAXParseException& e )
-
ErrorHandler
method - Errors
-
void fatalError( const SAXParseException& e )
-
ErrorHandler
method - Fatal errors
-
void resetErrors( void )
-
ErrorHandler
method - Reset errors
Documentation
This EppParser
class is designed to parse and validate
EPP XML messages against EPP XML Schema. Apache Xerces 1.5.0 for C++
is required.
- EppParser()
-
Creates an
EppParser
object
- EppParser( const DOMString& string )
-
Creates an
EppParser
object, given an EPP XML payload
string
- Parameters:
- string - a string in DOMString format
- EppParser( const char* string )
-
Creates an
EppParser
object, given an EPP XML payload
string
- Parameters:
- string - a null terminated byte stream
- EppParser( const char* string, int length )
-
Creates an
EppParser
object, given an EPP XML payload
string and its length
- Parameters:
- string - a minated byte stream
length - the length of the byte stream
- ~EppParser()
-
Destructor for an
EppParser
object
- DOMParser& getParser()
-
Gets the DOM Parser used for parsing EPP messages
- void parse( const DOMString& string )
-
Parses an EPP message string
- Parameters:
- string - a string in DOMString format
- void parse( const char* string )
-
Parses an EPP message string
- Parameters:
- string - a null terminated byte stream
- void parse( const char* string, int length )
-
Parses an EPP message string, given its length
- Parameters:
- string - a minated byte stream
length - the length of the byte stream
- void parseFile( const char* file )
-
Parses an EPP message stored in a file
- Parameters:
- file - file name containing an EPP message
- DOM_Document& getDocument()
-
Gets
DOM_Document
object after parsing
- bool hasError()
-
Checks if there is any errors after parsing
- EppResult* getResult()
-
Gets parsing result as an
EppResult
object
- DOM_Node getRootNode()
-
Gets the root "epp" node of parsing result as an
Node
object. If there is any error, a null DOM_Node is returned.
- void warning( const SAXParseException& e )
-
ErrorHandler
method - Warnings
- void error( const SAXParseException& e )
-
ErrorHandler
method - Errors
- void fatalError( const SAXParseException& e )
-
ErrorHandler
method - Fatal errors
- void resetErrors( void )
-
ErrorHandler
method - Reset errors
- This class has no child classes.
- Author:
- Ning Zhang ning.zhang@neustar.com
- Version:
- $Revision: 1.1 $ $Date: 2001/11/05 20:20:36 $
Alphabetic index HTML hierarchy of classes or Java
Copyright © 2001-2002 NeuStar, Inc. All Rights Reserved.