|
||||||||||
| 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.JDFAutoResourceCmdParams
org.cip4.jdflib.jmf.JDFResourceCmdParams
public class JDFResourceCmdParams
class that wraps a ResourceCmdParams element
| Nested Class Summary | |
|---|---|
protected class |
JDFResourceCmdParams.ApplyCommand
container for applying resource commands to commands |
| Nested classes/interfaces inherited from class org.cip4.jdflib.auto.JDFAutoResourceCmdParams |
|---|
JDFAutoResourceCmdParams.EnumActivation, JDFAutoResourceCmdParams.EnumUpdateMethod |
| 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 | |
|---|---|
JDFResourceCmdParams(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String qualifiedName)
Constructor for JDFResourceCmdParams |
|
JDFResourceCmdParams(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String myNamespaceURI,
String qualifiedName)
Constructor for JDFResourceCmdParams |
|
JDFResourceCmdParams(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String myNamespaceURI,
String qualifiedName,
String myLocalName)
Constructor for JDFResourceCmdParams |
|
| Method Summary | |
|---|---|
JDFResource |
appendResource(String resName)
Append Resource |
void |
applyResourceCommand(JDFNode parentNode)
apply the parameters in this to all appropriate resources in parentNode or one of parentNode's children if no matching resource exists in the node, Usage MUST be set in this JDFResourceCmdParams, otherwise it is not possible to correctly link the newly created resource |
JDFResource |
getCreateResource(String resName)
get resource defined by resName, create if it doesn't exist |
NodeIdentifier |
getIdentifier()
gets the NodeIdetifier that matches this |
VJDFAttributeMap |
getPartMapVector()
get part map vector |
JDFResource |
getResource(String resName)
get resource defined by resNam |
protected ElementInfo |
getTheElementInfo()
|
VString |
getUnknownElements(boolean bIgnorePrivate,
int nMax)
return the vector of unknown element nodenames default: GetInvalidElements(true, 999999) !!! |
JDFResourceLink.EnumUsage |
getUsage()
(9) get attribute Usage |
boolean |
hasPartMap(JDFAttributeMap mPart)
check whether the part defined in mPart is included |
void |
removePartMap(JDFAttributeMap mPart)
remove the part defined by mPart |
void |
setIdentifier(NodeIdentifier ni)
|
void |
setPartMap(JDFAttributeMap mPart)
set all parts to those define by mPart |
void |
setPartMapVector(VJDFAttributeMap vParts)
set all parts to those defined by vParts |
void |
setUsage(JDFResourceLink.EnumUsage enumVar)
(5) set attribute Usage |
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 JDFResourceCmdParams(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String qualifiedName)
myOwnerDocument - qualifiedName -
public JDFResourceCmdParams(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String myNamespaceURI,
String qualifiedName)
myOwnerDocument - myNamespaceURI - qualifiedName -
public JDFResourceCmdParams(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String myNamespaceURI,
String qualifiedName,
String myLocalName)
myOwnerDocument - myNamespaceURI - qualifiedName - myLocalName - | Method Detail |
|---|
protected ElementInfo getTheElementInfo()
getTheElementInfo in class JDFAutoResourceCmdParamspublic String toString()
toString in class JDFAutoResourceCmdParamsObject.toString()public JDFResource getCreateResource(String resName)
resName, create if it doesn't exist
resName - name of the resource to get/create
public JDFResource getResource(String resName)
resNam
resName - name of the resource to get, if null get the one and only resource
public JDFResource appendResource(String resName)
resName - name of the resource to append
public VString getUnknownElements(boolean bIgnorePrivate,
int nMax)
default: GetInvalidElements(true, 999999)
!!! Do not change the signature of this method
getUnknownElements in class JDFElementbIgnorePrivate - used by JDFElement during the validationnMax - maximum number of elements to get
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 to look for
public void applyResourceCommand(JDFNode parentNode)
parentNode - the node to search inpublic NodeIdentifier getIdentifier()
getIdentifier in interface INodeIdentifiableNodeIdentifier the matching NodeIdentifierpublic void setUsage(JDFResourceLink.EnumUsage enumVar)
setUsage in class JDFAutoResourceCmdParamsenumVar - the enumVar to set the attribute topublic JDFResourceLink.EnumUsage getUsage()
getUsage in class JDFAutoResourceCmdParamspublic void setIdentifier(NodeIdentifier ni)
setIdentifier in interface INodeIdentifiableni - org.cip4.jdflib.ifaces.INodeIdentifiable#setIdentifier(org.cip4.jdflib.node.JDFNode.NodeIdentifier)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||