|
||||||||||
| 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.ElementImpl
org.apache.xerces.dom.ElementNSImpl
org.cip4.jdflib.core.KElement
org.cip4.jdflib.core.JDFElement
org.cip4.jdflib.pool.JDFPool
org.cip4.jdflib.auto.JDFAutoAncestorPool
org.cip4.jdflib.pool.JDFAncestorPool
public class JDFAncestorPool
Description: This class represents an JDFAncestorPool
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.cip4.jdflib.core.JDFElement |
|---|
JDFElement.EnumBoolean, JDFElement.EnumNamedColor, JDFElement.EnumNodeStatus, JDFElement.EnumOrientation, JDFElement.EnumPoolType, JDFElement.EnumSeparation, JDFElement.EnumSettingsPolicy, JDFElement.EnumValidationLevel, JDFElement.EnumVersion, JDFElement.EnumXYRelation |
| Nested classes/interfaces inherited from class org.cip4.jdflib.core.KElement |
|---|
KElement.SimpleNodeComparator, KElement.SingleAttributeComparator, KElement.SingleXPathComparator |
| Field Summary |
|---|
| Fields inherited from class org.apache.xerces.dom.ElementNSImpl |
|---|
localName, namespaceURI |
| Fields inherited from class org.apache.xerces.dom.ElementImpl |
|---|
attributes, name |
| 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 |
| Fields inherited from interface org.w3c.dom.TypeInfo |
|---|
DERIVATION_EXTENSION, DERIVATION_LIST, DERIVATION_RESTRICTION, DERIVATION_UNION |
| Constructor Summary | |
|---|---|
JDFAncestorPool(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String qualifiedName)
Constructor for JDFAncestorPool |
|
JDFAncestorPool(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String myNamespaceURI,
String qualifiedName)
Constructor for JDFAncestorPool |
|
JDFAncestorPool(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String myNamespaceURI,
String qualifiedName,
String myLocalName)
Constructor for JDFAncestorPool |
|
| Method Summary | |
|---|---|
void |
copyNodeData(JDFNode parentNode)
Deprecated. use public void copyNodeData (JDFNode parentNode, false, false) instead |
void |
copyNodeData(JDFNode parentNode,
boolean bCopyNodeInfo,
boolean bCopyCustomerInfo,
boolean bCopyComments)
Copy all data from parentNode into the ancestor elements of this |
String |
getAncestorAttribute(String attrib,
String nameSpaceURI,
String def)
searches for the first attribute occurence in the ancestor elements |
KElement |
getAncestorElement(String element,
String nameSpaceURI)
Deprecated. |
KElement |
getAncestorElement(String element,
String nameSpaceURI,
String xPath)
searches for the first element occurence in the ancestor elements |
String |
getAncestorElementAttribute(String element,
String attrib,
String nameSpaceURI,
String def)
searches for the first attribute occurence in the ancestor elements subelements e.g. the JobPriority in NodeInfo |
VElement |
getLinkedResources(JDFAttributeMap mResAtt,
boolean bFollowRefs)
Get the linked resources matching some conditions |
VJDFAttributeMap |
getPartMapVector()
get part map vector |
JDFAncestor |
getPoolChild(int i,
JDFAttributeMap mAttrib)
get a child from the pool matching the parameters |
VElement |
getPoolChildren(JDFAttributeMap mAttrib)
Gets all children with the attribute out of the pool |
boolean |
hasAncestorAttribute(String attrib,
String nameSpaceURI)
check whether a defined attribute exists in the ancestor elements |
boolean |
hasAncestorElement(String attrib,
String nameSpaceURI)
true id a non default occurence in the ancestor elements exists |
boolean |
hasPartMap(JDFAttributeMap mPart)
check whether the part defined in mPart is included |
boolean |
isPartitioned()
check whether the Ancestor pool contains any part elements |
void |
removePartMap(JDFAttributeMap mPart)
remove the part defined in mPart |
void |
setPartMap(JDFAttributeMap mPart)
set all parts to those define in vParts |
void |
setPartMapVector(VJDFAttributeMap vParts)
set all parts to those define in vParts |
| Methods inherited from class org.cip4.jdflib.auto.JDFAutoAncestorPool |
|---|
appendAncestor, appendPart, getAllAncestor, getAllPart, getAncestor, getCreateAncestor, getCreatePart, getPart, getTheElementInfo, toString |
| Methods inherited from class org.cip4.jdflib.pool.JDFPool |
|---|
appendUniqueGeneric, appendUniqueGeneric, getPoolChildGeneric, getPoolChildrenGeneric |
| Methods inherited from class org.apache.xerces.dom.ElementNSImpl |
|---|
getBaseURI, getLocalName, getPrefix, getTypeName, getTypeNamespace, isDerivedFrom, setType, setValues |
| Methods inherited from class org.apache.xerces.dom.ElementImpl |
|---|
cloneNode, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getDefaultAttributes, getElementsByTagName, getElementsByTagNameNS, getNodeName, getNodeType, getSchemaTypeInfo, getTagName, getXercesAttribute, hasAttributeNS, isEqualNode, reconcileDefaultAttributes, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setOwnerDocument, setReadOnly, setupDefaultAttributes, setXercesAttributeNode, synchronizeData |
| Methods inherited from class org.apache.xerces.dom.ParentNode |
|---|
getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, getTextContent, hasChildNodes, item, setTextContent, synchronizeChildren |
| Methods inherited from class org.apache.xerces.dom.ChildNode |
|---|
getNextSibling, getParentNode, getPreviousSibling |
| Methods inherited from class org.apache.xerces.dom.NodeImpl |
|---|
addEventListener, changed, changes, compareDocumentPosition, compareTreePosition, dispatchEvent, getContainer, getFeature, getNodeNumber, getNodeValue, getReadOnly, getUserData, getUserData, getUserDataRecord, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, needsSyncChildren, removeEventListener, setUserData, setUserData |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.w3c.dom.Element |
|---|
getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS |
| Methods inherited from interface org.w3c.dom.Node |
|---|
cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasChildNodes, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, setTextContent, setUserData |
| Constructor Detail |
|---|
public JDFAncestorPool(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String qualifiedName)
myOwnerDocument - qualifiedName -
public JDFAncestorPool(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String myNamespaceURI,
String qualifiedName)
myOwnerDocument - myNamespaceURI - qualifiedName -
public JDFAncestorPool(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String myNamespaceURI,
String qualifiedName,
String myLocalName)
myOwnerDocument - myNamespaceURI - qualifiedName - myLocalName - | Method Detail |
|---|
public String getAncestorAttribute(String attrib,
String nameSpaceURI,
String def)
attrib - the attribute namenameSpaceURI - the XML-namespacedef - the default if it does not exist
@Deprecated
public KElement getAncestorElement(String element,
String nameSpaceURI)
element - nameSpaceURI -
public KElement getAncestorElement(String element,
String nameSpaceURI,
String xPath)
element - the element namenameSpaceURI - the XML-namespace of the elementxPath - the xpath of a required attribute
public boolean hasAncestorElement(String attrib,
String nameSpaceURI)
attrib - the attribute namenameSpaceURI - the XML-namespace
public VElement getLinkedResources(JDFAttributeMap mResAtt,
boolean bFollowRefs)
mResAtt - map of Resource attributes to search forbFollowRefs - true if internal references shall be followed
@Deprecated public void copyNodeData(JDFNode parentNode)
parentNode - the closest parent Node that contains the information to be copied
public void copyNodeData(JDFNode parentNode,
boolean bCopyNodeInfo,
boolean bCopyCustomerInfo,
boolean bCopyComments)
parentNode - the closest parent Node that contains the information to be copiedbCopyNodeInfo - if true, also copy the NodeInfo into the ancestorbCopyCustomerInfo - if true, also copy the CustomerInfo into the ancestorbCopyComments - if true, also copy the comments and generalID elements into the ancestorpublic VElement getPoolChildren(JDFAttributeMap mAttrib)
mAttrib - the attribute to search for
public JDFAncestor getPoolChild(int i,
JDFAttributeMap mAttrib)
i - the index of the child or -1 to make a new one.mAttrib - an attribute to search for
public VJDFAttributeMap getPartMapVector()
getPartMapVector in class JDFElementpublic void setPartMapVector(VJDFAttributeMap vParts)
setPartMapVector in class JDFElementvParts - vector of attribute maps for the partspublic void setPartMap(JDFAttributeMap mPart)
setPartMap in class JDFElementmPart - attribute map for the part to setpublic void removePartMap(JDFAttributeMap mPart)
removePartMap in class JDFElementmPart - attribute map for the part to removepublic boolean hasPartMap(JDFAttributeMap mPart)
hasPartMap in class JDFElementmPart - attribute map for the part to remove
public boolean hasAncestorAttribute(String attrib,
String nameSpaceURI)
attrib - the attribute name to look fornameSpaceURI - the XML-namespace to search in
public String getAncestorElementAttribute(String element,
String attrib,
String nameSpaceURI,
String def)
element - node name to look inattrib - the attribute namenameSpaceURI - the XML-namespacedef - the default if it does not exist
public boolean isPartitioned()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||