VCF::XMLTextReader Class Reference
#include <XMLKit.h>
List of all members.
|
Public Types |
| enum | ParseringFlags { pfLoadDTD = 0x01,
pfDefaultAttrs = 0x02,
pfValidate = 0x04,
pfSubstEntities = 0x08
} |
| enum | ParserState {
psInitial = XML_TEXTREADER_MODE_INITIAL,
psInteractive = XML_TEXTREADER_MODE_INTERACTIVE,
psError = XML_TEXTREADER_MODE_ERROR,
psEOF = XML_TEXTREADER_MODE_EOF,
psClosed = XML_TEXTREADER_MODE_CLOSED,
psReading = XML_TEXTREADER_MODE_READING
} |
Public Member Functions |
| | XMLTextReader () |
| | ~XMLTextReader () |
| size_t | getAttributeCount () const |
| String | getBaseURI () const |
| int | getBytesConsumed () const |
| bool | close () |
| String | getEncoding () const |
| String | getLocalName () const |
| String | getName () const |
| String | getNamespaceURI () const |
| String | getPrefix () const |
| String | getTextValue () const |
| String | getLang () const |
| String | getVersion () const |
| int | getCurrentDepth () const |
| XmlNode | expand () |
| String | getAttribute (const String &name) const |
| String | getAttribute (const size_t &index) const |
| String | getAttribute (const String &localName, const String &namespaceURI) const |
| int | getCurrentParserColumn () const |
| int | getCurrentParserLine () const |
| bool | parserLoadsDTD () const |
| bool | parserUsingDefaultAttrs () const |
| bool | parserWillValidate () const |
| bool | parserWillSubstituteEntities () const |
| void | setParserLoadsDTD (bool val) |
| void | setParserDefaultAttrs (bool val) |
| void | setParserWillValidate (bool val) |
| void | setParserWillSubstituteEntities (bool val) |
| bool | hasAttributes () const |
| bool | hasValue () const |
| bool | isDefaultValue () const |
| bool | isEmptyElement () const |
| bool | isNamespace () const |
| bool | isParserValid () const |
| String | lookupNamespace (const String &prefix) const |
| bool | moveToAttribute (const String &attributeName) |
| bool | moveToAttribute (size_t index) |
| bool | moveToAttribute (const String &localAttrName, const String &namespaceURI) |
| bool | moveToElement () |
| bool | moveToFirstAttribute () |
| bool | moveToNextAttribute () |
| bool | next () |
| bool | nextSibling () |
| XMLNodeType | getNodeType () const |
| int | getQuoteChar () const |
| bool | read () |
| bool | readAttrValue () |
| String | readInnerXml () |
| String | readOuterXml () |
| String | readString () |
| bool | schemaValidate (const String &xsd) |
| bool | isEOF () const |
| int | getState () const |
| XmlNode | getCurrentNode () |
| void | setXML (const String &xml) |
| void | add (const String &xml) |
| void | add (const unsigned char *xmlBuffer, size_t length) |
| XMLText::EncodingType | getEncodingType () const |
| void | setEncodingType (XMLText::EncodingType val) |
Public Attributes |
| XMLErrorDelegate | Error |
Protected Member Functions |
| void | checkBuffers () |
| void | createXMLReader () |
Static Protected Member Functions |
| static void | xmlStructuredErrorFunc (void *userData, xmlErrorPtr error) |
Protected Attributes |
| xmlTextReaderPtr | xmlReader_ |
| xmlBufferPtr | xmlBuf_ |
| xmlParserInputBufferPtr | xmlInputBuf_ |
| XMLText::EncodingType | encodingType_ |
Member Enumeration Documentation
|
|
- Enumerator:
-
| pfLoadDTD |
|
| pfDefaultAttrs |
|
| pfValidate |
|
| pfSubstEntities |
|
|
|
|
- Enumerator:
-
| psInitial |
|
| psInteractive |
|
| psError |
|
| psEOF |
|
| psClosed |
|
| psReading |
|
|
Constructor & Destructor Documentation
| VCF::XMLTextReader::XMLTextReader |
( |
|
) |
|
|
| VCF::XMLTextReader::~XMLTextReader |
( |
|
) |
|
|
Member Function Documentation
| void VCF::XMLTextReader::add |
( |
const unsigned char * |
xmlBuffer, |
|
|
size_t |
length |
|
) |
|
|
| void VCF::XMLTextReader::add |
( |
const String & |
xml |
) |
|
|
| void VCF::XMLTextReader::checkBuffers |
( |
|
) |
[protected] |
|
| bool VCF::XMLTextReader::close |
( |
|
) |
|
|
| void VCF::XMLTextReader::createXMLReader |
( |
|
) |
[protected] |
|
| XmlNode VCF::XMLTextReader::expand |
( |
|
) |
|
|
| String VCF::XMLTextReader::getAttribute |
( |
const String & |
localName, |
|
|
const String & |
namespaceURI |
|
) |
const |
|
| String VCF::XMLTextReader::getAttribute |
( |
const size_t & |
index |
) |
const |
|
| String VCF::XMLTextReader::getAttribute |
( |
const String & |
name |
) |
const |
|
| size_t VCF::XMLTextReader::getAttributeCount |
( |
|
) |
const |
|
| String VCF::XMLTextReader::getBaseURI |
( |
|
) |
const |
|
| int VCF::XMLTextReader::getBytesConsumed |
( |
|
) |
const |
|
| int VCF::XMLTextReader::getCurrentDepth |
( |
|
) |
const |
|
| XmlNode VCF::XMLTextReader::getCurrentNode |
( |
|
) |
|
|
| int VCF::XMLTextReader::getCurrentParserColumn |
( |
|
) |
const |
|
| int VCF::XMLTextReader::getCurrentParserLine |
( |
|
) |
const |
|
| String VCF::XMLTextReader::getEncoding |
( |
|
) |
const |
|
| String VCF::XMLTextReader::getLang |
( |
|
) |
const |
|
| String VCF::XMLTextReader::getLocalName |
( |
|
) |
const |
|
| String VCF::XMLTextReader::getName |
( |
|
) |
const |
|
| String VCF::XMLTextReader::getNamespaceURI |
( |
|
) |
const |
|
| String VCF::XMLTextReader::getPrefix |
( |
|
) |
const |
|
| int VCF::XMLTextReader::getQuoteChar |
( |
|
) |
const |
|
| int VCF::XMLTextReader::getState |
( |
|
) |
const |
|
| String VCF::XMLTextReader::getTextValue |
( |
|
) |
const |
|
| String VCF::XMLTextReader::getVersion |
( |
|
) |
const |
|
| bool VCF::XMLTextReader::hasAttributes |
( |
|
) |
const |
|
| bool VCF::XMLTextReader::hasValue |
( |
|
) |
const |
|
| bool VCF::XMLTextReader::isDefaultValue |
( |
|
) |
const |
|
| bool VCF::XMLTextReader::isEmptyElement |
( |
|
) |
const |
|
| bool VCF::XMLTextReader::isEOF |
( |
|
) |
const |
|
| bool VCF::XMLTextReader::isNamespace |
( |
|
) |
const |
|
| bool VCF::XMLTextReader::isParserValid |
( |
|
) |
const |
|
| String VCF::XMLTextReader::lookupNamespace |
( |
const String & |
prefix |
) |
const |
|
| bool VCF::XMLTextReader::moveToAttribute |
( |
const String & |
localAttrName, |
|
|
const String & |
namespaceURI |
|
) |
|
|
| bool VCF::XMLTextReader::moveToAttribute |
( |
size_t |
index |
) |
|
|
| bool VCF::XMLTextReader::moveToAttribute |
( |
const String & |
attributeName |
) |
|
|
| bool VCF::XMLTextReader::moveToElement |
( |
|
) |
|
|
| bool VCF::XMLTextReader::moveToFirstAttribute |
( |
|
) |
|
|
| bool VCF::XMLTextReader::moveToNextAttribute |
( |
|
) |
|
|
| bool VCF::XMLTextReader::next |
( |
|
) |
|
|
| bool VCF::XMLTextReader::nextSibling |
( |
|
) |
|
|
| bool VCF::XMLTextReader::parserLoadsDTD |
( |
|
) |
const |
|
| bool VCF::XMLTextReader::parserUsingDefaultAttrs |
( |
|
) |
const |
|
| bool VCF::XMLTextReader::parserWillSubstituteEntities |
( |
|
) |
const |
|
| bool VCF::XMLTextReader::parserWillValidate |
( |
|
) |
const |
|
| bool VCF::XMLTextReader::read |
( |
|
) |
|
|
| bool VCF::XMLTextReader::readAttrValue |
( |
|
) |
|
|
| String VCF::XMLTextReader::readInnerXml |
( |
|
) |
|
|
| String VCF::XMLTextReader::readOuterXml |
( |
|
) |
|
|
| String VCF::XMLTextReader::readString |
( |
|
) |
|
|
| bool VCF::XMLTextReader::schemaValidate |
( |
const String & |
xsd |
) |
|
|
| void VCF::XMLTextReader::setParserDefaultAttrs |
( |
bool |
val |
) |
|
|
| void VCF::XMLTextReader::setParserLoadsDTD |
( |
bool |
val |
) |
|
|
| void VCF::XMLTextReader::setParserWillSubstituteEntities |
( |
bool |
val |
) |
|
|
| void VCF::XMLTextReader::setParserWillValidate |
( |
bool |
val |
) |
|
|
| void VCF::XMLTextReader::setXML |
( |
const String & |
xml |
) |
|
|
| static void VCF::XMLTextReader::xmlStructuredErrorFunc |
( |
void * |
userData, |
|
|
xmlErrorPtr |
error |
|
) |
[static, protected] |
|
Member Data Documentation
The documentation for this class was generated from the following file: