eXo Kernel :: Commons Utils 2.5.0-Alpha1

org.exoplatform.commons.xml
Class ExoXPPParser

java.lang.Object
  extended by org.xmlpull.mxp1.MXParser
      extended by org.xmlpull.mxp1.MXParserCachingStrings
          extended by org.exoplatform.commons.xml.ExoXPPParser
All Implemented Interfaces:
Cloneable, org.xmlpull.v1.XmlPullParser

public class ExoXPPParser
extends org.xmlpull.mxp1.MXParserCachingStrings

Jul 8, 2004


Field Summary
 
Fields inherited from class org.xmlpull.mxp1.MXParserCachingStrings
CACHE_LOAD, CACHE_STATISTICS, cacheEntriesCount, cacheEntriesThreshold, cacheStatCalls, cacheStatRehash, cacheStatResets, cacheStatWalks, INITIAL_CAPACITY, keys, TRACE_SIZING, values
 
Fields inherited from class org.xmlpull.mxp1.MXParser
allStringsInterned, attributeCount, attributeName, attributeNameHash, attributePrefix, attributeUri, attributeValue, buf, bufAbsoluteStart, bufEnd, bufLoadFactor, bufSoftLimit, bufStart, charRefOneCharBuf, columnNumber, depth, elName, elNamespaceCount, elPrefix, elRawName, elRawNameEnd, elRawNameLine, elUri, emptyElementTag, entityEnd, entityName, entityNameBuf, entityNameHash, entityRefName, entityReplacement, entityReplacementBuf, eventType, FEATURE_NAMES_INTERNED, FEATURE_XML_ROUNDTRIP, inputEncoding, inputStream, lineNumber, location, LOOKUP_MAX, LOOKUP_MAX_CHAR, lookupNameChar, lookupNameStartChar, namespaceEnd, namespacePrefix, namespacePrefixHash, namespaceUri, NCODING, NO, pastEndTag, pc, pcEnd, pcStart, pos, posEnd, posStart, preventBufferCompaction, processNamespaces, PROPERTY_LOCATION, PROPERTY_XMLDECL_CONTENT, PROPERTY_XMLDECL_STANDALONE, PROPERTY_XMLDECL_VERSION, reachedEnd, READ_CHUNK_SIZE, reader, roundtripSupported, seenAmpersand, seenDocdecl, seenEndTag, seenMarkup, seenRoot, seenStartTag, TANDALONE, text, tokenize, usePC, VERSION, XML_URI, xmlDeclContent, xmlDeclStandalone, xmlDeclVersion, XMLNS_URI, YES
 
Fields inherited from interface org.xmlpull.v1.XmlPullParser
CDSECT, COMMENT, DOCDECL, END_DOCUMENT, END_TAG, ENTITY_REF, FEATURE_PROCESS_DOCDECL, FEATURE_PROCESS_NAMESPACES, FEATURE_REPORT_NAMESPACE_ATTRIBUTES, FEATURE_VALIDATION, IGNORABLE_WHITESPACE, NO_NAMESPACE, PROCESSING_INSTRUCTION, START_DOCUMENT, START_TAG, TEXT, TYPES
 
Constructor Summary
ExoXPPParser()
           
 
Method Summary
 void endNode(String name)
           
 String getContent()
           
static ExoXPPParser getInstance()
           
 String getNodeAttributeValue(String name)
           
 void mandatoryNode(String name)
           
 String mandatoryNodeContent(String name)
           
 boolean node(String name)
           
 String nodeContent(String name)
           
 
Methods inherited from class org.xmlpull.mxp1.MXParserCachingStrings
clone, finalize, getFeature, initStringCache, newString, newStringIntern, resetStringCache, setFeature
 
Methods inherited from class org.xmlpull.mxp1.MXParser
defineEntityReplacementText, ensureAttributesCapacity, ensureElementsCapacity, ensureEntityCapacity, ensureNamespacesCapacity, ensurePC, fastHash, fillBuf, getAttributeCount, getAttributeName, getAttributeNamespace, getAttributePrefix, getAttributeType, getAttributeValue, getAttributeValue, getColumnNumber, getDepth, getEventType, getInputEncoding, getLineNumber, getName, getNamespace, getNamespace, getNamespaceCount, getNamespacePrefix, getNamespaceUri, getPositionDescription, getPrefix, getProperty, getText, getTextCharacters, isAttributeDefault, isEmptyElementTag, isNameChar, isNameStartChar, isS, isWhitespace, joinPC, lookuEntityReplacement, more, next, nextImpl, nextTag, nextText, nextToken, parseAttribute, parseCDSect, parseComment, parseDocdecl, parseEndTag, parseEntityRef, parseEpilog, parsePI, parseProlog, parseStartTag, parseXmlDecl, parseXmlDeclWithVersion, printable, printable, require, requireInput, requireNextS, reset, setInput, setInput, setProperty, skipS, skipSubTree
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExoXPPParser

public ExoXPPParser()
Method Detail

node

public boolean node(String name)
             throws Exception
Throws:
Exception

nodeContent

public String nodeContent(String name)
                   throws Exception
Throws:
Exception

endNode

public void endNode(String name)
             throws Exception
Throws:
Exception

mandatoryNode

public void mandatoryNode(String name)
                   throws Exception
Throws:
Exception

mandatoryNodeContent

public String mandatoryNodeContent(String name)
                            throws Exception
Throws:
Exception

getContent

public String getContent()
                  throws Exception
Throws:
Exception

getNodeAttributeValue

public String getNodeAttributeValue(String name)

getInstance

public static ExoXPPParser getInstance()
                                throws Exception
Throws:
Exception

eXo Kernel :: Commons Utils 2.5.0-Alpha1

Copyright © 2013 eXo Platform SAS. All Rights Reserved.