|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.xerces.dom.NodeImpl
org.apache.xerces.dom.ChildNode
org.apache.xerces.dom.ParentNode
org.apache.xerces.dom.CoreDocumentImpl
org.apache.xerces.dom.DocumentImpl
org.cip4.jdflib.core.DocumentXMLImpl
org.cip4.jdflib.core.DocumentJDFImpl
public class DocumentJDFImpl
implementation of the JDFLib class factory
| Field Summary | |
|---|---|
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 |
| Fields inherited from class org.cip4.jdflib.core.DocumentXMLImpl |
|---|
initialMem, m_Bodypart, m_OriginalFileName, m_validationResult, m_ZipReader, nsMap |
| Fields inherited from class org.apache.xerces.dom.DocumentImpl |
|---|
eventListeners, iterators, mutationEvents, ranges |
| Fields inherited from class org.apache.xerces.dom.CoreDocumentImpl |
|---|
actualEncoding, allowGrammarAccess, changes, docElement, docType, encoding, errorChecking, fDocumentURI, identifiers, standalone, userData, version, xmlVersionChanged |
| Fields inherited from class org.apache.xerces.dom.ParentNode |
|---|
firstChild, fNodeListCache, ownerDocument |
| Fields inherited from class org.apache.xerces.dom.ChildNode |
|---|
nextSibling, previousSibling |
| Fields inherited from class org.apache.xerces.dom.NodeImpl |
|---|
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 |
| Constructor Summary | |
|---|---|
DocumentJDFImpl()
Constructor for DocumentJDFImpl. |
|
| Method Summary | |
|---|---|
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. |
XMLDocUserData |
getMyUserData()
|
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)
|
static void |
setStaticStrictNSCheck(boolean staticStrictNSCheck)
|
String |
toString()
|
| Methods inherited from class org.cip4.jdflib.core.DocumentXMLImpl |
|---|
createElement, createElementNS, getDocMemoryUsed, getNamespaceURIFromPrefix, isIgnoreNSDefault, isStrictNSCheck, setIgnoreNSDefault, setNamespaceURIFromPrefix, setStrictNSCheck |
| Methods inherited from class org.apache.xerces.dom.DocumentImpl |
|---|
addEventListener, cloneNode, copyEventListeners, createEvent, createNodeIterator, createNodeIterator, createRange, createTreeWalker, createTreeWalker, dispatchAggregateEvents, dispatchAggregateEvents, dispatchEvent, dispatchEventToSubtree, dispatchingEventToSubtree, getEventListeners, getImplementation, removeEventListener, saveEnclosingAttr, setEventListeners |
| Methods inherited from class org.apache.xerces.dom.CoreDocumentImpl |
|---|
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 |
| Methods inherited from class org.apache.xerces.dom.ParentNode |
|---|
getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, hasChildNodes, isEqualNode, item, normalize, setOwnerDocument, setReadOnly, synchronizeChildren |
| Methods inherited from class org.apache.xerces.dom.ChildNode |
|---|
getNextSibling, getParentNode, getPreviousSibling |
| Methods inherited from class org.apache.xerces.dom.NodeImpl |
|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.w3c.dom.Node |
|---|
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 |
| Field Detail |
|---|
public boolean bKElementOnly
public boolean bInitOnCreate
| Constructor Detail |
|---|
public DocumentJDFImpl()
| Method Detail |
|---|
public static boolean isStaticStrictNSCheck()
public static void setStaticStrictNSCheck(boolean staticStrictNSCheck)
staticStrictNSCheck - the bStaticStrictNSCheck to setpublic DocumentJDFImpl clone()
clone in class DocumentXMLImplCoreDocumentImpl.clone()
public static void registerCustomClass(String strElement,
String packagepath)
strElement - local namepackagepath - package path
public Element createElementNS(String namespaceURI,
String qualifiedName,
String localPart)
createElementNS in class DocumentXMLImplnamespaceURI - qualifiedName - localPart -
CoreDocumentImpl.createElementNS(java.lang.String, java.lang.String, java.lang.String)public Class<?> getFactoryClass(String qualifiedName)
qualifiedName - the qualified name of the class
public String toString()
toString in class DocumentXMLImplObject.toString()protected XMLDocUserData getXMLDocUserData()
public Node removeChild(Node arg0)
throws DOMException
removeChild in interface NoderemoveChild in class org.apache.xerces.dom.CoreDocumentImplDOMExceptionCoreDocumentImpl.removeChild(org.w3c.dom.Node)
public Node replaceChild(Node arg0,
Node arg1)
throws DOMException
replaceChild in interface NodereplaceChild in class org.apache.xerces.dom.CoreDocumentImplDOMExceptionCoreDocumentImpl.replaceChild(org.w3c.dom.Node, org.w3c.dom.Node)public XMLDocUserData getMyUserData()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||