public class DocumentXMLImpl
extends org.apache.xerces.dom.DocumentImpl
Modifier and Type | Field and Description |
---|---|
protected long |
initialMem |
protected javax.mail.BodyPart |
m_Bodypart
the mime bodypart that this document was parsed from
|
protected String |
m_OriginalFileName
the original file name if an element was parsed, else null
|
XMLDoc |
m_validationResult
the xml output of the schema validation
|
protected ZipReader |
m_ZipReader
we need this for grabbing local urls in a zip stream
|
protected HashMap<String,String> |
nsMap |
eventListeners, iterators, mutationEvents, ranges
actualEncoding, allowGrammarAccess, changes, docElement, docType, encoding, errorChecking, fDocumentURI, identifiers, standalone, userData, version, xmlVersionChanged
firstChild, fNodeListCache, ownerDocument
DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_IS_CONTAINED, DOCUMENT_POSITION_PRECEDING, ELEMENT_DEFINITION_NODE, FIRSTCHILD, flags, HASSTRING, ID, IGNORABLEWS, NORMALIZED, OWNED, ownerNode, READONLY, SPECIFIED, SYNCCHILDREN, SYNCDATA, TREE_POSITION_ANCESTOR, TREE_POSITION_DESCENDANT, TREE_POSITION_DISCONNECTED, TREE_POSITION_EQUIVALENT, TREE_POSITION_FOLLOWING, TREE_POSITION_PRECEDING, TREE_POSITION_SAME_NODE
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
Constructor and Description |
---|
DocumentXMLImpl()
Constructor for DocumentJDFImpl.
|
Modifier and Type | Method and Description |
---|---|
DocumentXMLImpl |
clone() |
Element |
createElement(String qualifiedName)
Factory method; creates an
Element having this Document as its OwnerDoc. |
Element |
createElementNS(String namespaceURI,
String qualifiedName) |
Element |
createElementNS(String namespaceURI,
String qualifiedName,
String localPart) |
long |
getDocMemoryUsed()
rough guestimate of the memory used by this if called after parsing
|
String |
getNamespaceURIFromPrefix(String prefix) |
boolean |
isIgnoreNSDefault() |
static boolean |
isStaticStrictNSCheck() |
boolean |
isStrictNSCheck() |
void |
setIgnoreNSDefault(boolean _setIgnoreNSDefault)
if true no namespaces are heuristically gathered
|
void |
setNamespaceURIFromPrefix(String prefix,
String strNamespaceURI) |
static void |
setStaticStrictNSCheck(boolean staticStrictNSCheck) |
void |
setStrictNSCheck(boolean strictNSCheck) |
String |
toString() |
addEventListener, cloneNode, copyEventListeners, createEvent, createNodeIterator, createNodeIterator, createRange, createTreeWalker, createTreeWalker, dispatchAggregateEvents, dispatchAggregateEvents, dispatchEvent, dispatchEventToSubtree, dispatchingEventToSubtree, getEventListeners, getImplementation, removeEventListener, saveEnclosingAttr, setEventListeners
abort, adoptNode, callUserDataHandlers, changed, changes, checkDOMNSErr, checkNamespaceWF, checkQName, clearIdentifiers, cloneNode, createAttribute, createAttributeNS, createAttributeNS, createCDATASection, createComment, createDocumentFragment, createDocumentType, createElementDefinition, createEntity, createEntityReference, createNotation, createProcessingInstruction, createTextNode, getAsync, getBaseURI, getDoctype, getDocumentElement, getDocumentURI, getDomConfig, getElementById, getElementsByTagName, getElementsByTagNameNS, getEncoding, getErrorChecking, getFeature, getIdentifier, getIdentifiers, getInputEncoding, getNodeName, getNodeNumber, getNodeNumber, getNodeType, getOwnerDocument, getStandalone, getStrictErrorChecking, getTextContent, getUserData, getUserData, getUserDataRecord, getVersion, getXmlEncoding, getXmlStandalone, getXmlVersion, importNode, insertBefore, isKidOK, isValidQName, isXMLName, load, loadXML, normalizeDocument, putIdentifier, removeChild, removeIdentifier, renameNode, replaceChild, saveXML, setAsync, setDocumentURI, setEncoding, setErrorChecking, setInputEncoding, setStandalone, setStrictErrorChecking, setTextContent, setUserData, setUserData, setVersion, setXmlEncoding, setXmlStandalone, setXmlVersion, undeferChildren
getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, hasChildNodes, isEqualNode, item, normalize, setOwnerDocument, setReadOnly, synchronizeChildren
getNextSibling, getParentNode, getPreviousSibling
addEventListener, appendChild, compareDocumentPosition, compareTreePosition, dispatchEvent, getAttributes, getContainer, getLocalName, getNamespaceURI, getNodeValue, getPrefix, getReadOnly, getUserData, getUserData, getUserDataRecord, hasAttributes, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, needsSyncChildren, removeEventListener, setNodeValue, setPrefix, setUserData, setUserData, synchronizeData
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
appendChild, compareDocumentPosition, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeValue, getParentNode, getPrefix, getPreviousSibling, getUserData, hasAttributes, hasChildNodes, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, setNodeValue, setPrefix, setUserData
public XMLDoc m_validationResult
protected long initialMem
protected String m_OriginalFileName
protected javax.mail.BodyPart m_Bodypart
protected ZipReader m_ZipReader
public static boolean isStaticStrictNSCheck()
public static void setStaticStrictNSCheck(boolean staticStrictNSCheck)
staticStrictNSCheck
- the bStaticStrictNSCheck to setpublic boolean isStrictNSCheck()
public void setStrictNSCheck(boolean strictNSCheck)
strictNSCheck
- the strictNSCheck to setpublic long getDocMemoryUsed()
public DocumentXMLImpl clone()
clone
in class org.apache.xerces.dom.CoreDocumentImpl
CoreDocumentImpl.clone()
public Element createElement(String qualifiedName)
Element
having this Document
as its OwnerDoc.createElement
in interface Document
createElement
in class org.apache.xerces.dom.CoreDocumentImpl
qualifiedName
- The name of the element type to instantiate. For XML, this is case-sensitive.public Element createElementNS(String namespaceURI, String qualifiedName)
createElementNS
in interface Document
createElementNS
in class org.apache.xerces.dom.CoreDocumentImpl
namespaceURI
- qualifiedName
- CoreDocumentImpl.createElementNS(java.lang.String, java.lang.String)
public Element createElementNS(String namespaceURI, String qualifiedName, String localPart)
createElementNS
in class org.apache.xerces.dom.CoreDocumentImpl
namespaceURI
- qualifiedName
- localPart
- CoreDocumentImpl.createElementNS(java.lang.String, java.lang.String, java.lang.String)
public String toString()
toString
in class org.apache.xerces.dom.NodeImpl
Object.toString()
public boolean isIgnoreNSDefault()
public void setIgnoreNSDefault(boolean _setIgnoreNSDefault)
_setIgnoreNSDefault
- the setIgnoreNSDefault to setpublic String getNamespaceURIFromPrefix(String prefix)
prefix
- Copyright © 2018. All rights reserved.