#include <dbobjdefinition.hpp>
Collaboration diagram for SAXDBOBJDefinitionBuilder:
Definition at line 825 of file dbobjdefinition.hpp.
Public Methods | |
SAXDBOBJDefinitionBuilder (XMLFlowContext *p_pContext) | |
Constructor. | |
~SAXDBOBJDefinitionBuilder () | |
Destructor. | |
DBOBJDefinitionNode * | getDefinition () const |
After parse, returns root node of the definition tree. | |
void | startElement (const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname, const Attributes &attrs) |
Receive notification of the beginning of an element. Builds definition nodes and fields and attach them to the definition tree. | |
void | endElement (const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname) |
Receive notification of the end of an element. Builds primary keys and keylinks. | |
void | characters (const XMLCh *const chars, const unsigned int length) |
void | startDocument () |
void | endDocument () |
void | startPrefixMapping (const XMLCh *const prefix, const XMLCh *const uri) |
void | endPrefixMapping (const XMLCh *const prefix) |
void | processingInstruction (const XMLCh *const target, const XMLCh *const data) |
void | ignorableWhitespace (const XMLCh *const chars, const unsigned int length) |
void | setDocumentLocator (const Locator *const locator) |
void | skippedEntity (const XMLCh *const name) |
Static Public Methods | |
DBOBJDefinitionNode * | buildDBOBJDefinition (XMLFlowContext *p_pContext, XMLStreamProvider *p_pInput) |
Launches input buffer parse and construction of definition tree. |
|
Constructor.
Definition at line 1114 of file dbobjdefinition.cpp. References DEBUG_CREATE. Referenced by buildDBOBJDefinition(). |
|
Destructor.
Definition at line 1124 of file dbobjdefinition.cpp. References DEBUG_DEL, VAarray< char * >::empty(), VAarray< DBOBJDefinitionNode * >::empty(), VAarray< char * >::pop(), VAarray< DBOBJDefinitionNode * >::pop(), and releaseCharBuffer(). |
|
Launches input buffer parse and construction of definition tree.
Definition at line 1059 of file dbobjdefinition.cpp. References CATCH_XML_FLOW_ERROR_RELEASE_AND_RETURN, DEBUG_IN, DEBUG_OUT, getDefinition(), MAKE_XMLFLOW_EXCEPTION, ON_XML_FLOW_ERROR_DO, ON_XML_FLOW_ERROR_THROW, PREP_CATCH_XML_FLOW_ERROR, SAXDBOBJDefinitionBuilder(), and WATCH_XML_FLOW_ERROR. Referenced by DBOBJStreamerFactory::buildDefinition(). |
|
Definition at line 904 of file dbobjdefinition.hpp. |
|
Definition at line 906 of file dbobjdefinition.hpp. |
|
Receive notification of the end of an element. Builds primary keys and keylinks.
Definition at line 1268 of file dbobjdefinition.cpp. References DBOBJDefinitionNode::addKeyLink(), DBOBJDefinitionNode::addPkey(), CATCH_XML_FLOW_ERROR_RELEASE_AND_RETURN, DEBUG_ECHO, DEBUG_IN, DEBUG_OUT, DBOBJDefinitionNode::getName(), XMLFlowContext::getTranscoder(), ON_XML_FLOW_ERROR_THROW, VAarray< char * >::pop(), VAarray< DBOBJDefinitionNode * >::pop(), PREP_CATCH_XML_FLOW_ERROR, releaseCharBuffer(), THROW_XMLFLOW_EXCEPTION, WATCH_XML_FLOW_ERROR, XMLPROCESSOR_MAX_TAG_SIZE, and XSTR(). |
|
Definition at line 908 of file dbobjdefinition.hpp. |
|
After parse, returns root node of the definition tree.
Definition at line 1139 of file dbobjdefinition.cpp. References DEBUG_FUNC. Referenced by buildDBOBJDefinition(). |
|
Definition at line 910 of file dbobjdefinition.hpp. |
|
Definition at line 909 of file dbobjdefinition.hpp. |
|
Definition at line 911 of file dbobjdefinition.hpp. |
|
Definition at line 912 of file dbobjdefinition.hpp. |
|
Definition at line 905 of file dbobjdefinition.hpp. |
|
|
Definition at line 907 of file dbobjdefinition.hpp. |