public class DocumentJDFImpl extends DocumentXMLImpl
Modifier and Type | Field and Description |
---|---|
boolean |
bInitOnCreate
skip initialization when creating a new element
|
boolean |
bKElementOnly
if true, the factory is bypassed and only KElements are created rather than the typesafe element classes
|
initialMem, m_Bodypart, m_OriginalFileName, m_validationResult, m_ZipReader, 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 |
---|
DocumentJDFImpl()
Constructor for DocumentJDFImpl.
|
Modifier and Type | Method and Description |
---|---|
DocumentJDFImpl |
clone() |
Element |
createElementNS(String namespaceURI,
String qualifiedName,
String localPart) |
Class<?> |
getFactoryClass(String qualifiedName)
Searches for the matching factory class in sm_PackageNames If a match could not be found then JDFResource.class is returned if the element is in a
resource pool else if the element is in the default name space JDFElement.class is returned else KElement.class is returned
will return JDFElement.class or JDFResource.class only.
|
protected String |
getHoleTypeClass(String strParentNodeClass) |
protected String |
getMethodClass(String strParentNodeClass) |
XMLDocUserData |
getMyUserData() |
protected String |
getPositionClass(String strParentNodeClass) |
protected String |
getShapeClass(String strParentNodeClass) |
protected String |
getSurfaceClass(String strParentNodeClass) |
protected XMLDocUserData |
getXMLDocUserData()
get/create the associated XMLDocUserData
|
static boolean |
isStaticStrictNSCheck() |
static void |
registerCustomClass(String strElement,
String packagepath)
register new custom class in the factory
|
Node |
removeChild(Node arg0) |
Node |
replaceChild(Node arg0,
Node arg1) |
void |
setParentNode(Node node) |
static void |
setStaticStrictNSCheck(boolean staticStrictNSCheck) |
String |
toString() |
createElement, createElementNS, getDocMemoryUsed, getNamespaceURIFromPrefix, isIgnoreNSDefault, isStrictNSCheck, setIgnoreNSDefault, setNamespaceURIFromPrefix, setStrictNSCheck
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, removeIdentifier, renameNode, 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 boolean bKElementOnly
public boolean bInitOnCreate
public static boolean isStaticStrictNSCheck()
public static void setStaticStrictNSCheck(boolean staticStrictNSCheck)
staticStrictNSCheck
- the bStaticStrictNSCheck to setpublic DocumentJDFImpl clone()
clone
in class DocumentXMLImpl
CoreDocumentImpl.clone()
public static void registerCustomClass(String strElement, String packagepath)
strElement
- local namepackagepath
- package pathpublic Element createElementNS(String namespaceURI, String qualifiedName, String localPart)
createElementNS
in class DocumentXMLImpl
namespaceURI
- qualifiedName
- localPart
- CoreDocumentImpl.createElementNS(java.lang.String, java.lang.String, java.lang.String)
public Class<?> getFactoryClass(String qualifiedName)
qualifiedName
- the qualified name of the classpublic String toString()
toString
in class DocumentXMLImpl
Object.toString()
public void setParentNode(Node node)
node
- protected XMLDocUserData getXMLDocUserData()
public Node removeChild(Node arg0) throws DOMException
removeChild
in interface Node
removeChild
in class org.apache.xerces.dom.CoreDocumentImpl
DOMException
CoreDocumentImpl.removeChild(org.w3c.dom.Node)
public Node replaceChild(Node arg0, Node arg1) throws DOMException
replaceChild
in interface Node
replaceChild
in class org.apache.xerces.dom.CoreDocumentImpl
DOMException
CoreDocumentImpl.replaceChild(org.w3c.dom.Node, org.w3c.dom.Node)
public XMLDocUserData getMyUserData()
Copyright © 2018. All rights reserved.