|
||||||||||
| 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.auto.JDFAutoPart
org.cip4.jdflib.resource.JDFPart
public class JDFPart
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.cip4.jdflib.auto.JDFAutoPart |
|---|
JDFAutoPart.EnumPreviewType, JDFAutoPart.EnumSide |
| 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 | |
|---|---|
JDFPart(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String qualifiedName)
Constructor for JDFPart |
|
JDFPart(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String myNamespaceURI,
String qualifiedName)
Constructor for JDFPart |
|
JDFPart(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String myNamespaceURI,
String qualifiedName,
String myLocalName)
Constructor for JDFPart |
|
| Method Summary | |
|---|---|
JDFAttributeMap |
getPartMap()
gets a map of all Partition key value pairs, empty if no partition keys exist |
protected AttributeInfo |
getTheAttributeInfo()
|
protected ElementInfo |
getTheElementInfo()
|
VString |
guessPartIDKeys()
heuristically guess the partidkey order |
static boolean |
matchesPart(String key,
String resourceValue,
String linkValue)
Deprecated. use 4 parameter version |
static boolean |
matchesPart(String key,
String resourceValue,
String linkValue,
boolean strictPartVersion)
check whether the partition values match partversions match if either only one token is specified, and the large list contains that token or vice versa |
static boolean |
overlapPartMap(JDFAttributeMap resourceMap,
JDFAttributeMap linkMap)
Deprecated. use 3 parameter version |
static boolean |
overlapPartMap(JDFAttributeMap resourceMap,
JDFAttributeMap linkMap,
boolean strictPartVersion)
overlapMap - identical keys must have the same values in both maps similar to JDFAttribute.overlapMap, but uses matchesPart instead of equals for the comparison |
void |
setPartMap(JDFAttributeMap mPart)
sets the attributes of this to partmap removes all other attributes |
String |
toString()
toString() |
| 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 JDFPart(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String qualifiedName)
myOwnerDocument - qualifiedName -
public JDFPart(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String myNamespaceURI,
String qualifiedName)
myOwnerDocument - myNamespaceURI - qualifiedName -
public JDFPart(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String myNamespaceURI,
String qualifiedName,
String myLocalName)
myOwnerDocument - myNamespaceURI - qualifiedName - myLocalName - | Method Detail |
|---|
public String toString()
toString in class JDFAutoPartObject.toString()public JDFAttributeMap getPartMap()
getPartMap in class JDFElementpublic VString guessPartIDKeys()
public void setPartMap(JDFAttributeMap mPart)
setPartMap in class JDFElementmPart - attribute map for the part to set
@Deprecated
public static boolean matchesPart(String key,
String resourceValue,
String linkValue)
key - the partition keyresourceValue - the value of key in the resourcelinkValue - the value of key in the part element or ref
public static boolean matchesPart(String key,
String resourceValue,
String linkValue,
boolean strictPartVersion)
key - the partition keyresourceValue - the value of key in the resourcelinkValue - the value of key in the part element or refstrictPartVersion - if true, partversion strings MUST match exactly, else token matching applies
@Deprecated
public static boolean overlapPartMap(JDFAttributeMap resourceMap,
JDFAttributeMap linkMap)
resourceMap - the map to comparelinkMap - the map to compare
public static boolean overlapPartMap(JDFAttributeMap resourceMap,
JDFAttributeMap linkMap,
boolean strictPartVersion)
resourceMap - the map to comparelinkMap - the map to comparestrictPartVersion - if true, partversion strings MUST match exactly, else token matching applies
protected AttributeInfo getTheAttributeInfo()
getTheAttributeInfo in class JDFAutoPartJDFAutoPart.getTheAttributeInfo()protected ElementInfo getTheElementInfo()
getTheElementInfo in class JDFElementJDFElement.getTheElementInfo()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||