Save This Page
Home » Xerces-J-src.2.9.1 » ui » [javadoc | source]
ui
public class: DOMParserSaveEncoding [javadoc | source]
java.lang.Object
   org.apache.xerces.parsers.XMLParser
      org.apache.xerces.parsers.AbstractXMLDocumentParser
         org.apache.xerces.parsers.AbstractDOMParser
            org.apache.xerces.parsers.DOMParser
               ui.DOMParserSaveEncoding

All Implemented Interfaces:
    XMLDocumentHandler, XMLDTDContentModelHandler, XMLDTDHandler

The DOMParserSaveEncoding class extends DOMParser. It also provides the Java Encoding of the XML document by overriding the startDocument method and providing a way to capture the MIME encoding from the XML document which in turn is converted to the Java Encoding by the internal MIME2Java class.
Field Summary
 String _mimeEncoding     
Fields inherited from org.apache.xerces.parsers.DOMParser:
USE_ENTITY_RESOLVER2,  SYMBOL_TABLE,  XMLGRAMMAR_POOL,  fUseEntityResolver2
Fields inherited from org.apache.xerces.parsers.AbstractDOMParser:
NAMESPACES,  CREATE_ENTITY_REF_NODES,  INCLUDE_COMMENTS_FEATURE,  CREATE_CDATA_NODES_FEATURE,  INCLUDE_IGNORABLE_WHITESPACE,  DEFER_NODE_EXPANSION,  DOCUMENT_CLASS_NAME,  CURRENT_ELEMENT_NODE,  DEFAULT_DOCUMENT_CLASS_NAME,  CORE_DOCUMENT_CLASS_NAME,  PSVI_DOCUMENT_CLASS_NAME,  ABORT,  fErrorHandler,  fInDTD,  fCreateEntityRefNodes,  fIncludeIgnorableWhitespace,  fIncludeComments,  fCreateCDATANodes,  fDocument,  fDocumentImpl,  fStorePSVI,  fDocumentClassName,  fDocumentType,  fCurrentNode,  fCurrentCDATASection,  fCurrentEntityDecl,  fDeferredEntityDecl,  fStringBuffer,  fInternalSubset,  fDeferNodeExpansion,  fNamespaceAware,  fDeferredDocumentImpl,  fDocumentIndex,  fDocumentTypeIndex,  fCurrentNodeIndex,  fCurrentCDATASectionIndex,  fInDTDExternalSubset,  fRoot,  fInCDATASection,  fFirstChunk,  fFilterReject,  fBaseURIStack,  fRejectedElement,  fSkippedElemStack,  fInEntityRef,  fDOMFilter
Fields inherited from org.apache.xerces.parsers.AbstractXMLDocumentParser:
fInDTD,  fDocumentSource,  fDTDSource,  fDTDContentModelSource
Fields inherited from org.apache.xerces.parsers.XMLParser:
ENTITY_RESOLVER,  ERROR_HANDLER,  fConfiguration
Method from ui.DOMParserSaveEncoding Summary:
getJavaEncoding,   startGeneralEntity
Methods from org.apache.xerces.parsers.DOMParser:
getEntityResolver,   getErrorHandler,   getFeature,   getProperty,   getXMLParserConfiguration,   parse,   parse,   setEntityResolver,   setErrorHandler,   setFeature,   setProperty
Methods from org.apache.xerces.parsers.AbstractDOMParser:
abort,   attributeDecl,   characters,   comment,   createAttrNode,   createElementNode,   doctypeDecl,   dropDocumentReferences,   elementDecl,   emptyElement,   endAttlist,   endCDATA,   endConditional,   endDTD,   endDocument,   endElement,   endExternalSubset,   endGeneralEntity,   endParameterEntity,   externalEntityDecl,   getDocument,   getDocumentClassName,   handleBaseURI,   handleBaseURI,   ignorableWhitespace,   ignoredCharacters,   internalEntityDecl,   notationDecl,   processingInstruction,   reset,   setCharacterData,   setDocumentClassName,   setLocale,   startAttlist,   startCDATA,   startConditional,   startDTD,   startDocument,   startElement,   startExternalSubset,   startGeneralEntity,   startParameterEntity,   textDecl,   unparsedEntityDecl,   xmlDecl
Methods from org.apache.xerces.parsers.AbstractXMLDocumentParser:
any,   attributeDecl,   characters,   comment,   doctypeDecl,   element,   elementDecl,   empty,   emptyElement,   endAttlist,   endCDATA,   endConditional,   endContentModel,   endDTD,   endDocument,   endElement,   endExternalSubset,   endGeneralEntity,   endGroup,   endParameterEntity,   externalEntityDecl,   getDTDContentModelSource,   getDTDSource,   getDocumentSource,   ignorableWhitespace,   ignoredCharacters,   internalEntityDecl,   notationDecl,   occurrence,   pcdata,   processingInstruction,   reset,   separator,   setDTDContentModelSource,   setDTDSource,   setDocumentSource,   startAttlist,   startCDATA,   startConditional,   startContentModel,   startDTD,   startDocument,   startElement,   startExternalSubset,   startGeneralEntity,   startGroup,   startParameterEntity,   textDecl,   unparsedEntityDecl,   xmlDecl
Methods from org.apache.xerces.parsers.XMLParser:
parse,   reset
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from ui.DOMParserSaveEncoding Detail:
 public String getJavaEncoding() 
 public  void startGeneralEntity(String name,
    XMLResourceIdentifier identifier,
    String encoding,
    Augmentations augs) throws XNIException