|
||||||||||
| 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.resource.JDFResource
org.cip4.jdflib.resource.intent.JDFIntentResource
public class JDFIntentResource
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.cip4.jdflib.resource.JDFResource |
|---|
JDFResource.EnumAmountMerge, JDFResource.EnumLotControl, JDFResource.EnumPartIDKey, JDFResource.EnumPartUsage, JDFResource.EnumResourceClass, JDFResource.EnumResStatus, JDFResource.EnumSpawnStatus, JDFResource.PartitionGetter |
| 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 | |
|---|---|
JDFIntentResource(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String qualifiedName)
|
|
JDFIntentResource(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String myNamespaceURI,
String qualifiedName)
Constructor for JDFIntentResource |
|
JDFIntentResource(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String myNamespaceURI,
String qualifiedName,
String myLocalName)
Constructor for JDFIntentResource |
|
| Method Summary | |
|---|---|
JDFDurationSpan |
appendDurationSpan(String strName)
Append a duration span if it does not yet exist, else return the existing element |
JDFEnumerationSpan |
appendEnumerationSpan(String strName)
Append an Enumeration span if it does not yet exist, else return the existing element |
JDFIntegerSpan |
appendIntegerSpan(String strName)
Append an integer span if it does not yet exist, else return the existing element |
JDFNameSpan |
appendNameSpan(String strName)
Append a name span if it does not yet exist, else return the existing element |
JDFNumberSpan |
appendNumberSpan(String strName)
Append a number span if it does not yet exist, else return the existing element |
JDFOptionSpan |
appendOptionSpan(String strName)
Append an option (boolean) span |
JDFShapeSpan |
appendShapeSpan(String strName)
Append a Shape span if it does not yet exist, else return the existing element |
JDFSpanBase |
appendSpan(String strName,
JDFSpanBase.EnumDataType nType)
Append a span if it does not yet exist, else return the existing element |
JDFStringSpan |
appendStringSpan(String strName)
Append a string span if it does not yet exist, else return the existing element |
JDFTimeSpan |
appendTimeSpan(String strName)
Append a time span if it does not yet exist, else return the existing element |
JDFXYPairSpan |
appendXYPairSpan(String strName)
Append a XYPair span if it does not yet exist, else return the existing element |
static void |
copyActualToProcess(JDFElement intentRoot,
JDFElement processRoot,
String spanName,
String attName)
get the best match actual value from any element that may contain spans |
JDFShapeSpan |
getCreateCreateShapeSpan(String strName)
get a Shape span |
JDFXYPairSpan |
getCreateCreateXYPairSpan(String strName)
get a XYPair span |
JDFDurationSpan |
getCreateDurationSpan(String strName)
get a duration span |
JDFEnumerationSpan |
getCreateEnumerationSpan(String strName)
get an Enumeration span |
JDFIntegerSpan |
getCreateIntegerSpan(String strName)
get an integer span |
JDFNameSpan |
getCreateNameSpan(String strName)
get a namespan |
JDFNumberSpan |
getCreateNumberSpan(String strName)
get a number span |
JDFOptionSpan |
getCreateOptionSpan(String strName)
get an option (boolean) span |
JDFStringSpan |
getCreateStringSpan(String strName)
get a string span |
JDFTimeSpan |
getCreateTimeSpan(String strName)
get a time span |
JDFDurationSpan |
getDurationSpan(String strName)
get a duration span |
JDFEnumerationSpan |
getEnumerationSpan(String strName)
get an Enumeration span |
JDFIntegerSpan |
getIntegerSpan(String strName)
get an integer span |
JDFNameSpan |
getNameSpan(String strName)
get a namespan |
JDFNumberSpan |
getNumberSpan(String strName)
get a number span |
JDFOptionSpan |
getOptionSpan(String strName)
get an option (boolean) span |
JDFShapeSpan |
getShapeSpan(String strName)
get a Shape span |
JDFSpanBase |
getSpan(String strName,
JDFSpanBase.EnumDataType nType)
get a span |
VElement |
getSpans()
get a list of all span resources |
JDFStringSpan |
getStringSpan(String strName)
get a string span |
JDFTimeSpan |
getTimeSpan(String strName)
get a time span |
JDFResource.EnumResourceClass |
getValidClass()
Typesafe attribute validation of Class |
JDFXYPairSpan |
getXYPairSpan(String strName)
get a XYPair span |
static String |
guessActual(JDFElement root,
String spanName)
get the best match actual value from any element that may contain spans |
boolean |
init()
default initialization |
int |
preferredToActual()
set all actual values to the preset defined in preferred |
int |
preferredToActual(String key)
set actual values to the preset defined in preferred |
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 JDFIntentResource(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String qualifiedName)
throws DOMException
myOwnerDocument - qualifiedName -
DOMException
public JDFIntentResource(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String myNamespaceURI,
String qualifiedName)
throws DOMException
myOwnerDocument - myNamespaceURI - qualifiedName -
DOMException
public JDFIntentResource(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String myNamespaceURI,
String qualifiedName,
String myLocalName)
throws DOMException
myOwnerDocument - myNamespaceURI - qualifiedName - myLocalName -
DOMException| Method Detail |
|---|
public String toString()
JDFResource
toString in class JDFResourceJDFResource.toString()
public static String guessActual(JDFElement root,
String spanName)
root - the parent elementspanName - the span element name
public static void copyActualToProcess(JDFElement intentRoot,
JDFElement processRoot,
String spanName,
String attName)
intentRoot - the parent intent elementprocessRoot - the parent process elementspanName - the span element nameattName - the target attribute element name, if null identical to spanNamepublic int preferredToActual()
public int preferredToActual(String key)
key - the key of the span resource to modify, if null do all
public VElement getSpans()
public JDFResource.EnumResourceClass getValidClass()
getValidClass in class JDFResourcepublic boolean init()
init in class JDFResourcepublic JDFNumberSpan getCreateNumberSpan(String strName)
strName - name of the span element
public JDFOptionSpan getCreateOptionSpan(String strName)
strName - name of the span element
public JDFIntegerSpan getCreateIntegerSpan(String strName)
strName - name of the span element
exist
public JDFNameSpan getCreateNameSpan(String strName)
strName - name of the span element
public JDFEnumerationSpan getCreateEnumerationSpan(String strName)
strName - name of the span element
public JDFStringSpan getCreateStringSpan(String strName)
strName - name of the span element
public JDFDurationSpan getCreateDurationSpan(String strName)
strName - name of the span element
public JDFTimeSpan getCreateTimeSpan(String strName)
strName - name of the span element
public JDFXYPairSpan getCreateCreateXYPairSpan(String strName)
strName - name of the span element
public JDFShapeSpan getCreateCreateShapeSpan(String strName)
strName - name of the span element
public JDFNumberSpan getNumberSpan(String strName)
strName - name of the span element
public JDFOptionSpan getOptionSpan(String strName)
strName - name of the span element
public JDFIntegerSpan getIntegerSpan(String strName)
strName - name of the span element
public JDFNameSpan getNameSpan(String strName)
strName - name of the span element
public JDFEnumerationSpan getEnumerationSpan(String strName)
strName - name of the span element
public JDFStringSpan getStringSpan(String strName)
strName - name of the span element
public JDFDurationSpan getDurationSpan(String strName)
strName - name of the span element
public JDFTimeSpan getTimeSpan(String strName)
strName - name of the span element
public JDFXYPairSpan getXYPairSpan(String strName)
strName - name of the span element
public JDFShapeSpan getShapeSpan(String strName)
strName - name of the span element
public JDFNumberSpan appendNumberSpan(String strName)
strName - name of the span element
public JDFOptionSpan appendOptionSpan(String strName)
strName - name of the span element
public JDFIntegerSpan appendIntegerSpan(String strName)
strName - name of the span element
public JDFNameSpan appendNameSpan(String strName)
strName - name of the span element
public JDFEnumerationSpan appendEnumerationSpan(String strName)
strName - name of the span element
public JDFStringSpan appendStringSpan(String strName)
strName - name of the span element
public JDFDurationSpan appendDurationSpan(String strName)
strName - name of the span element
public JDFTimeSpan appendTimeSpan(String strName)
strName - name of the span element
public JDFXYPairSpan appendXYPairSpan(String strName)
strName - name of the span element
public JDFShapeSpan appendShapeSpan(String strName)
strName - name of the span element
public JDFSpanBase getSpan(String strName,
JDFSpanBase.EnumDataType nType)
strName - name of the span elementnType - datatype of the new span
public JDFSpanBase appendSpan(String strName,
JDFSpanBase.EnumDataType nType)
strName - name of the span elementnType - datatype of the new span
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||