|
wsdlpull
1.23
|
#include <XmlPullParser.h>
Public Types | |
| enum | { START_DOCUMENT, END_DOCUMENT, START_TAG, END_TAG, TEXT, CDSECT, ENTITY_REF, IGNORABLE_WHITESPACE, PROCESSING_INSTRUCTION, COMMENT, DOCDECL } |
Public Member Functions | |
| XmlPullParser (std::istream &is) | |
| XmlPullParser (void) | |
| ~XmlPullParser (void) | |
| bool | getFeature (std::string feature) |
| std::string | getInputEncoding () |
| void | defineEntityReplacementText (std::string entity, std::string value) |
| int | getNamespaceCount (int depth) |
| std::string | getNamespacePrefix (int pos) |
| std::string | getNamespaceUri (int pos) |
| std::string | getNamespace (std::string prefix) |
| int | getDepth () |
| std::string | getPositionDescription () |
| int | getLineNumber () |
| int | getColumnNumber () |
| bool | isWhitespace () |
| std::string | getText () |
| const char * | getTextCharacters (int *poslen) |
| std::string | getNamespace () |
| std::string | getName () |
| std::string | getPrefix () |
| bool | isEmptyElementTag () |
| int | getAttributeCount () |
| std::string | getAttributeType (int) |
| bool | isAttributeDefault (int) |
| std::string | getAttributeNamespace (int index) |
| std::string | getAttributeName (int index) |
| std::string | getAttributePrefix (int index) |
| std::string | getAttributeValue (int index) |
| std::string | getAttributeValue (std::string ns, std::string name) |
| int | getEventType () |
| int | next () |
| int | nextToken () |
| int | nextTag () |
| void | prevTag () |
| void | require (int type, std::string ns, std::string name) |
| std::string | nextText () |
| void | setFeature (std::string feature, bool value) |
| void | skipSubTree () |
Definition at line 46 of file XmlPullParser.h.
| anonymous enum |
| Enumerator | |
|---|---|
| START_DOCUMENT | |
| END_DOCUMENT | |
| START_TAG | |
| END_TAG | |
| TEXT | |
| CDSECT | |
| ENTITY_REF | |
| IGNORABLE_WHITESPACE | |
| PROCESSING_INSTRUCTION | |
| COMMENT | |
| DOCDECL | |
Definition at line 125 of file XmlPullParser.h.
| XmlPullParser::XmlPullParser | ( | std::istream & | is | ) |
Definition at line 28 of file XmlPullParser.cpp.
| XmlPullParser::XmlPullParser | ( | void | ) |
Definition at line 41 of file XmlPullParser.cpp.
References START_DOCUMENT.
| XmlPullParser::~XmlPullParser | ( | void | ) |
Definition at line 99 of file XmlPullParser.cpp.
References CDSECT, COMMENT, DOCDECL, END_DOCUMENT, END_TAG, ENTITY_REF, getAttributeName(), getNamespace(), IGNORABLE_WHITESPACE, next(), NO_NAMESPACE, XmlUtils::parseInt(), PROCESSING_INSTRUCTION, RESIZE_BUFFER, START_TAG, and TEXT.
| bool XmlPullParser::getFeature | ( | std::string | feature | ) |
Definition at line 923 of file XmlPullParser.cpp.
| std::string XmlPullParser::getInputEncoding | ( | ) |
Definition at line 936 of file XmlPullParser.cpp.
| void XmlPullParser::defineEntityReplacementText | ( | std::string | entity, |
| std::string | value | ||
| ) |
Definition at line 943 of file XmlPullParser.cpp.
| int XmlPullParser::getNamespaceCount | ( | int | depth | ) |
Definition at line 952 of file XmlPullParser.cpp.
Referenced by WsdlPull::isValidWsdlElement(), and Schema::SchemaParser::parseSchemaTag().
| std::string XmlPullParser::getNamespacePrefix | ( | int | pos | ) |
Definition at line 960 of file XmlPullParser.cpp.
Referenced by WsdlPull::isValidWsdlElement(), and Schema::SchemaParser::parseSchemaTag().
| std::string XmlPullParser::getNamespaceUri | ( | int | pos | ) |
Definition at line 966 of file XmlPullParser.cpp.
Referenced by WsdlPull::isValidWsdlElement(), and Schema::SchemaParser::parseSchemaTag().
| std::string XmlPullParser::getNamespace | ( | std::string | prefix | ) |
Definition at line 972 of file XmlPullParser.cpp.
Referenced by WsdlPull::WsdlInvoker::buildXmlTree(), WsdlPull::WsdlInvoker::getNextHeaderInput(), Schema::SchemaParser::getTypeName(), WsdlPull::isValidWsdlElement(), main(), Schema::SchemaParser::parseSchemaTag(), and Schema::SchemaValidator::validate().
| int XmlPullParser::getDepth | ( | void | ) |
Definition at line 998 of file XmlPullParser.cpp.
Referenced by WsdlPull::isValidWsdlElement(), and Schema::SchemaParser::parseSchemaTag().
| std::string XmlPullParser::getPositionDescription | ( | ) |
Definition at line 1005 of file XmlPullParser.cpp.
|
inline |
Definition at line 64 of file XmlPullParser.h.
Referenced by Schema::SchemaParser::addImport(), WsdlPull::WsdlParser::getSchemaParsers(), WsdlPull::isValidWsdlElement(), Schema::SchemaParser::parseSchemaTag(), and Schema::SchemaValidator::validate().
|
inline |
Definition at line 68 of file XmlPullParser.h.
Referenced by Schema::SchemaParser::addImport(), WsdlPull::WsdlParser::getSchemaParsers(), WsdlPull::isValidWsdlElement(), Schema::SchemaParser::parseSchemaTag(), and Schema::SchemaValidator::validate().
| bool XmlPullParser::isWhitespace | ( | ) |
Definition at line 1057 of file XmlPullParser.cpp.
| std::string XmlPullParser::getText | ( | void | ) |
Definition at line 1065 of file XmlPullParser.cpp.
Referenced by WsdlPull::WsdlInvoker::buildXmlTree(), WsdlPull::WsdlInvoker::getValue(), WsdlPull::isValidWsdlElement(), and Schema::SchemaValidator::validate().
| const char * XmlPullParser::getTextCharacters | ( | int * | poslen | ) |
Definition at line 1072 of file XmlPullParser.cpp.
|
inline |
Definition at line 75 of file XmlPullParser.h.
Referenced by ~XmlPullParser().
|
inline |
Definition at line 79 of file XmlPullParser.h.
Referenced by WsdlPull::WsdlInvoker::buildXmlTree(), WsdlPull::WsdlInvoker::getNextHeaderInput(), WsdlPull::WsdlInvoker::getValue(), WsdlPull::Soap::handleElement(), WsdlPull::isValidWsdlElement(), main(), Schema::SchemaParser::parseSchemaTag(), Schema::SchemaParser::SchemaParser(), and Schema::SchemaValidator::validate().
|
inline |
Definition at line 83 of file XmlPullParser.h.
| bool XmlPullParser::isEmptyElementTag | ( | ) |
Definition at line 1094 of file XmlPullParser.cpp.
|
inline |
Definition at line 88 of file XmlPullParser.h.
Referenced by WsdlPull::WsdlInvoker::buildXmlTree(), WsdlPull::WsdlParser::getExtensibilityHandler(), WsdlPull::isValidWsdlElement(), Schema::SchemaParser::parseSchemaTag(), and Schema::SchemaValidator::validate().
|
inline |
Definition at line 92 of file XmlPullParser.h.
|
inline |
Definition at line 96 of file XmlPullParser.h.
| std::string XmlPullParser::getAttributeNamespace | ( | int | index | ) |
Definition at line 1102 of file XmlPullParser.cpp.
Referenced by Schema::SchemaParser::parseSchemaTag(), and Schema::SchemaValidator::validate().
| std::string XmlPullParser::getAttributeName | ( | int | index | ) |
Definition at line 1110 of file XmlPullParser.cpp.
Referenced by WsdlPull::WsdlInvoker::buildXmlTree(), WsdlPull::WsdlParser::getExtensibilityHandler(), WsdlPull::isValidWsdlElement(), Schema::SchemaParser::parseSchemaTag(), Schema::SchemaValidator::validate(), and ~XmlPullParser().
| std::string XmlPullParser::getAttributePrefix | ( | int | index | ) |
Definition at line 1118 of file XmlPullParser.cpp.
Referenced by WsdlPull::WsdlParser::getExtensibilityHandler(), and WsdlPull::isValidWsdlElement().
| std::string XmlPullParser::getAttributeValue | ( | int | index | ) |
Definition at line 1126 of file XmlPullParser.cpp.
Referenced by WsdlPull::WsdlInvoker::buildXmlTree(), WsdlPull::WsdlParser::getExtensibilityHandler(), WsdlPull::WsdlInvoker::getValue(), WsdlPull::isValidWsdlElement(), main(), Schema::SchemaParser::parseSchemaTag(), and Schema::SchemaValidator::validate().
| std::string XmlPullParser::getAttributeValue | ( | std::string | ns, |
| std::string | name | ||
| ) |
Definition at line 1134 of file XmlPullParser.cpp.
|
inline |
Definition at line 105 of file XmlPullParser.h.
Referenced by WsdlPull::WsdlInvoker::buildXmlTree(), WsdlPull::WsdlInvoker::getNextHeaderInput(), WsdlPull::isValidWsdlElement(), main(), Schema::SchemaParser::parseSchemaTag(), Schema::SchemaParser::SchemaParser(), and Schema::SchemaValidator::validate().
| int XmlPullParser::next | ( | ) |
Definition at line 1147 of file XmlPullParser.cpp.
Referenced by WsdlPull::WsdlInvoker::buildXmlTree(), Schema::SchemaParser::parseSchemaTag(), and ~XmlPullParser().
| int XmlPullParser::nextToken | ( | ) |
Definition at line 1173 of file XmlPullParser.cpp.
Referenced by WsdlPull::WsdlInvoker::buildXmlTree(), WsdlPull::WsdlInvoker::getValue(), WsdlPull::isValidWsdlElement(), Schema::SchemaParser::parseSchemaTag(), and Schema::SchemaValidator::validate().
| int XmlPullParser::nextTag | ( | ) |
Definition at line 1191 of file XmlPullParser.cpp.
Referenced by WsdlPull::WsdlInvoker::buildXmlTree(), WsdlPull::WsdlInvoker::getNextHeaderInput(), WsdlPull::isValidWsdlElement(), main(), Schema::SchemaParser::parseSchemaTag(), Schema::SchemaParser::SchemaParser(), and Schema::SchemaValidator::validate().
| void XmlPullParser::prevTag | ( | ) |
Definition at line 1183 of file XmlPullParser.cpp.
Referenced by Schema::SchemaValidator::validate().
| void XmlPullParser::require | ( | int | type, |
| std::string | ns, | ||
| std::string | name | ||
| ) |
Definition at line 1207 of file XmlPullParser.cpp.
Referenced by WsdlPull::WsdlInvoker::getNextHeaderInput(), WsdlPull::WsdlInvoker::getValue(), WsdlPull::WsdlInvoker::invoke(), WsdlPull::isValidWsdlElement(), main(), Schema::SchemaParser::parseSchemaTag(), Schema::SchemaParser::SchemaParser(), and WsdlPull::WsdlParser::WsdlParser().
| std::string XmlPullParser::nextText | ( | ) |
Definition at line 1215 of file XmlPullParser.cpp.
| void XmlPullParser::setFeature | ( | std::string | feature, |
| bool | value | ||
| ) |
Definition at line 1238 of file XmlPullParser.cpp.
Referenced by WsdlPull::WsdlInvoker::getNextHeaderInput(), WsdlPull::WsdlInvoker::getValue(), WsdlPull::WsdlInvoker::invoke(), WsdlPull::isValidWsdlElement(), main(), Schema::SchemaParser::parseSchemaTag(), Schema::SchemaParser::SchemaParser(), and WsdlPull::WsdlParser::WsdlParser().
| void XmlPullParser::skipSubTree | ( | ) |
Skip sub tree that is currently parser positioned on.
NOTE: parser must be on START_TAG and when funtion returns parser will be positioned on corresponding END_TAG.
Definition at line 1271 of file XmlPullParser.cpp.
Referenced by WsdlPull::isValidWsdlElement(), and Schema::SchemaValidator::validate().
1.8.13