|
||||||||||
| 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.JDFAutoDevCap
org.cip4.jdflib.resource.devicecapability.JDFDevCap
public class JDFDevCap
| 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 | |
|---|---|
JDFDevCap(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String qualifiedName)
Constructor for JDFDevCap |
|
JDFDevCap(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String myNamespaceURI,
String qualifiedName)
Constructor for JDFDevCap |
|
JDFDevCap(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String myNamespaceURI,
String qualifiedName,
String myLocalName)
Constructor for JDFDevCap |
|
| Method Summary | |
|---|---|
JDFBooleanState |
appendBooleanState()
Deprecated. use method with parameter (string) instead |
JDFBooleanState |
appendBooleanState(String nam)
appends a BooleanState with @Name="name" |
JDFDateTimeState |
appendDateTimeState()
Deprecated. use method with parameter (string) instead |
JDFDateTimeState |
appendDateTimeState(String nam)
appends a DateTimeState with @Name="name" |
JDFDevCap |
appendDevCap()
append element DevCap |
void |
appendDevCapRefs(JDFDevCap dc)
append dc/@ID to the value of devCap/@ID |
void |
appendDevCapRefs(String dcID)
append dc/@ID to the value of devCap/@ID |
JDFDurationState |
appendDurationState()
Deprecated. use method with parameter (string) instead |
JDFDurationState |
appendDurationState(String nam)
appends a DurationState with @Name="name" |
JDFEnumerationState |
appendEnumerationState()
Deprecated. use method with parameter (string) instead |
JDFEnumerationState |
appendEnumerationState(String nam)
appends a NumberState with @Name="name" |
JDFIntegerState |
appendIntegerState()
append an IntegerState with no name set |
JDFIntegerState |
appendIntegerState(String nam)
appends an IntegerState with @Name="name" |
JDFMatrixState |
appendMatrixState()
Deprecated. use method with parameter (string) instead |
JDFMatrixState |
appendMatrixState(String nam)
appends a MatrixState with @Name="name" |
JDFModuleCap |
appendModuleRef(String id)
append moduleRef to moduleRefs, if it does not exist, set the availability to module and ensure that the appropriate modulecap exists |
JDFNameState |
appendNameState()
Deprecated. use method with parameter (string) instead |
JDFNameState |
appendNameState(String nam)
appends a NameState with @Name="name" |
JDFNumberState |
appendNumberState()
Deprecated. use method with parameter (string) instead |
JDFNumberState |
appendNumberState(String nam)
appends a NumberState with @Name="name" |
JDFPDFPathState |
appendPDFPathState()
Deprecated. use method with parameter (string) instead |
JDFPDFPathState |
appendPDFPathState(String nam)
appends a PDFPathState with @Name="name" |
JDFRectangleState |
appendRectangleState()
Deprecated. use method with parameter (string) instead |
JDFRectangleState |
appendRectangleState(String nam)
appends a RectangleState with @Name="name" |
JDFShapeState |
appendShapeState()
Deprecated. use method with parameter (string) instead |
JDFShapeState |
appendShapeState(String nam)
appends a ShapeState with @Name="name" |
JDFStringState |
appendStringState()
Deprecated. use method with parameter (string) instead |
JDFStringState |
appendStringState(String nam)
appends a StringState with @Name="name" |
JDFXYPairState |
appendXYPairState()
Deprecated. use method with parameter (string) instead |
JDFXYPairState |
appendXYPairState(String nam)
appends a XYPairState with @Name="name" |
VElement |
getAllMatchingElementsFromParent(KElement parent)
gets the matching elements in the node that match the nodename of this |
JDFDeviceCap.EnumAvailability |
getAvailability()
getAvailability - gets typesafe enumerated attribute Availability |
JDFBooleanState |
getBooleanState(int iSkip)
gets the iSkip'th existing BooleanState |
JDFBooleanState |
getBooleanState(String nam)
gets an existing BooleanState with @Name="name" |
JDFBooleanState |
getCreateBooleanState(int iSkip)
Deprecated. use method with parameter (string) instead |
JDFBooleanState |
getCreateBooleanState(String nam)
gets a NumberState with @Name="name", appends it if it does not exist |
JDFDateTimeState |
getCreateDateTimeState(int iSkip)
Deprecated. use method with parameter (string) instead |
JDFDateTimeState |
getCreateDateTimeState(String nam)
gets a DateTimeState with @Name="name", appends it if it does not yet exist |
JDFDevCap |
getCreateDevCap(int iSkip)
get iSkip'th element DevCap, create if it doesn't exist |
JDFDurationState |
getCreateDurationState(int iSkip)
Deprecated. use method with parameter (string) instead |
JDFDurationState |
getCreateDurationState(String nam)
gets a DurationState with @Name="name", appends it if it does not yet exist |
JDFEnumerationState |
getCreateEnumerationState(int iSkip)
Deprecated. |
JDFEnumerationState |
getCreateEnumerationState(String nam)
gets a EnumerationState with @Name="name", appends it if it does not exist |
JDFIntegerState |
getCreateIntegerState(int iSkip)
Deprecated. use method with parameter (string) instead |
JDFIntegerState |
getCreateIntegerState(String nam)
gets an IntegerState with @Name="name", appends it if it does not yet exist |
JDFMatrixState |
getCreateMatrixState(int iSkip)
Deprecated. use method with parameter (string) instead |
JDFMatrixState |
getCreateMatrixState(String nam)
gets a MatrixState with @Name="name", appends it if it does not yet exist |
JDFModulePool |
getCreateModulePool()
get the ModulePool that contains ModuleCap elements referenced by this create one, if it does not exist |
JDFNameState |
getCreateNameState(int iSkip)
Deprecated. use method with parameter (string) instead |
JDFNameState |
getCreateNameState(String nam)
gets a NameState with @Name="name", appends it if it does not exist |
JDFNumberState |
getCreateNumberState(int iSkip)
Deprecated. use method with parameter (string) instead |
JDFNumberState |
getCreateNumberState(String nam)
gets a NumberState with @Name="name", appends it if it does not yet exist |
JDFPDFPathState |
getCreatePDFPathState(int iSkip)
Deprecated. use method with parameter (string) instead |
JDFPDFPathState |
getCreatePDFPathState(String nam)
gets a PDFPathState with @Name="name", appends it if it does not yet exist |
JDFRectangleState |
getCreateRectangleState(int iSkip)
Deprecated. use method with parameter (string) instead |
JDFRectangleState |
getCreateRectangleState(String nam)
gets a RectangleState with @Name="name", appends it if it does not yet exist |
JDFShapeState |
getCreateShapeState(int iSkip)
Deprecated. use method with parameter (string) instead |
JDFShapeState |
getCreateShapeState(String nam)
gets a ShapeState with @Name="name", appends it if it does not yet exist |
JDFStringState |
getCreateStringState(int iSkip)
Deprecated. use method with parameter (string) instead |
JDFStringState |
getCreateStringState(String nam)
gets a StringState with @Name="name", appends it if it does not yet exist |
JDFXYPairState |
getCreateXYPairState(int iSkip)
Deprecated. use method with parameter (string) instead |
JDFXYPairState |
getCreateXYPairState(String nam)
gets a XYPairState with @Name="name", appends it if it does not yet exist |
JDFDateTimeState |
getDateTimeState(int iSkip)
gets the iSkip'th existing DateTimeState |
JDFDateTimeState |
getDateTimeState(String nam)
gets an existing DateTimeState with @Name="name" |
JDFDevCap |
getDevCap(int iSkip)
get iSkip'th element DevCap |
VElement |
getDevCapVector(VElement devCaps,
boolean bDirect)
Gets of this the Vector of all direct child DevCap elements plus the referenced (by attribute DevCapRefs) reusable DevCap elements, that are located in DevCapPool |
JDFDurationState |
getDurationState(int iSkip)
gets the iSkip'th existing DurationState |
JDFDurationState |
getDurationState(String nam)
gets an existing DurationState with @Name="name" |
JDFEnumerationState |
getEnumerationState(int iSkip)
gets the iSkip'th existing EnumerationState |
JDFEnumerationState |
getEnumerationState(String nam)
gets an existing EnumerationState with @Name="name" |
JDFTerm.EnumTerm |
getEvaluationType()
get the type of evaluation that is appropriate for this ICapabilityElement |
String |
getID()
get String attribute ID |
protected String |
getIDPrefix()
getIDPrefix |
JDFIntegerState |
getIntegerState(int iSkip)
gets the iSkip'th existing IntegerState |
JDFIntegerState |
getIntegerState(String nam)
gets an existing IntegerState with @Name="name" |
VString |
getInvalidAttributes(JDFElement.EnumValidationLevel level,
boolean bIgnorePrivate,
int nMax)
get invalid attributes |
VElement |
getMatchingElementsFromParent(KElement parent,
VElement vDevCap)
gets the matching elements in the node that match this |
JDFMatrixState |
getMatrixState(int iSkip)
gets the iSkip'th existing MatrixState |
JDFMatrixState |
getMatrixState(String nam)
gets an existing MatrixState with @Name="name" |
int |
getMaxOccurs()
Gets integer attribute MaxOccurs, also handles unbounded |
JDFDeviceCap.EnumAvailability |
getModuleAvailability()
get the availability of this devcaps based on the list of installed modules in ModuleRefs and ModulePool |
JDFModulePool |
getModulePool()
get the ModulePool that contains ModuleCap elements referenced by this |
String |
getName()
gets String attribute Name, inherits from devcap or devcaps if necessary |
String |
getNamePath(boolean bRecurse)
Gets the NamePath of this DevCap in form "DevCapsName/SubelemName1/SubelemName2/..." |
VString |
getNamePathVector()
|
VString |
getNamePathVector(boolean bRecurse)
Gets the NamePath of this DevCap in form "DevCapsName/SubelemName1/SubelemName2/..." |
JDFNameState |
getNameState(int iSkip)
gets the iSkip'th existing NameState |
JDFNameState |
getNameState(String nam)
gets an existing NameState with @Name="name" |
JDFNumberState |
getNumberState(int iSkip)
gets the iSkip'th existing NumberState |
JDFNumberState |
getNumberState(String nam)
gets an existing NumberState with @Name="name" |
JDFPDFPathState |
getPDFPathState(int iSkip)
gets the iSkip'th existing PDFPathState |
JDFPDFPathState |
getPDFPathState(String nam)
gets an existing PDFPathState with @Name="name" |
JDFRectangleState |
getRectangleState(int iSkip)
gets the iSkip'th existing RectangleState |
JDFRectangleState |
getRectangleState(String nam)
gets an existing RectangleState with @Name="name" |
JDFShapeState |
getShapeState(int iSkip)
gets the iSkip'th existing ShapeState |
JDFShapeState |
getShapeState(String nam)
gets an existing ShapeState with @Name="name" |
VElement |
getStates(boolean bDirect,
String id)
return the vector of all states |
JDFStringState |
getStringState(int iSkip)
gets the iSkip'th existing StringState |
JDFStringState |
getStringState(String nam)
gets an existing StringState with @Name="name" |
protected AttributeInfo |
getTheAttributeInfo()
|
protected ElementInfo |
getTheElementInfo()
|
JDFXYPairState |
getXYPairState(int iSkip)
gets the iSkip'th existing XYPairState |
JDFXYPairState |
getXYPairState(String nam)
gets an existing XYPairState with @Name="name" |
boolean |
init()
all devcap elements should have an id |
boolean |
setDefaultsFromCaps(KElement element,
boolean bAll)
sets the element and attribute defaults |
void |
setDevCapRefs(VString value)
set attribute DevCapRefs |
void |
setID(String value)
set attribute ID |
void |
setMaxOccurs(int value)
Sets attribute MaxOccurs, also handles unbounded |
KElement |
stateReport(KElement e,
JDFBaseDataTypes.EnumFitsValue testlists,
JDFElement.EnumValidationLevel level,
boolean ignoreExtensions,
boolean bRecurse,
KElement parentReport)
Tests if the attributes and subelements of the given element match the corresponding States and DevCap subelements of this DevCap. |
String |
toString()
toString() |
| Methods inherited from class org.cip4.jdflib.auto.JDFAutoDevCap |
|---|
appendLoc, getAllLoc, getCreateLoc, getDevCapRefs, getDevNS, getLoc, getMinOccurs, getModuleRefs, getResourceUsage, setAvailability, setDevNS, setMinOccurs, setModuleRefs, setName, setResourceUsage |
| 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.cip4.jdflib.ifaces.ICapabilityElement |
|---|
getModuleRefs, setAvailability |
| 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 JDFDevCap(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String qualifiedName)
myOwnerDocument - qualifiedName -
public JDFDevCap(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String myNamespaceURI,
String qualifiedName)
myOwnerDocument - myNamespaceURI - qualifiedName -
public JDFDevCap(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String myNamespaceURI,
String qualifiedName,
String myLocalName)
myOwnerDocument - myNamespaceURI - qualifiedName - myLocalName - | Method Detail |
|---|
protected ElementInfo getTheElementInfo()
getTheElementInfo in class JDFAutoDevCapprotected AttributeInfo getTheAttributeInfo()
getTheAttributeInfo in class JDFAutoDevCappublic String toString()
toString in class JDFAutoDevCapObject.toString()public boolean init()
init in class KElementpublic void setDevCapRefs(VString value)
DevCapRefs
setDevCapRefs in class JDFAutoDevCapvalue - the value to set the attribute topublic void setID(String value)
ID
setID in class JDFAutoDevCapvalue - the value to set the attribute topublic String getID()
ID
getID in class JDFAutoDevCapprotected String getIDPrefix()
KElement
getIDPrefix in class KElementpublic JDFDeviceCap.EnumAvailability getAvailability()
Availability
getAvailability in interface ICapabilityElementgetAvailability in class JDFAutoDevCappublic JDFDevCap getDevCap(int iSkip)
DevCap
iSkip - number of elements to skip (0 -> get first element)
public JDFDevCap getCreateDevCap(int iSkip)
DevCap, create if it doesn't exist
iSkip - number of elements to skip
public JDFDevCap appendDevCap()
DevCap
public void appendDevCapRefs(JDFDevCap dc)
dc - the devCap to appendpublic void appendDevCapRefs(String dcID)
dcID - public JDFBooleanState getBooleanState(int iSkip)
iSkip - number of elements to skip (0 -> get first element)
public JDFBooleanState getBooleanState(String nam)
nam - the Name attribute of the newly appended BooleanState
@Deprecated public JDFBooleanState getCreateBooleanState(int iSkip)
public JDFBooleanState getCreateBooleanState(String nam)
nam - the name attribute of the newly appended NumberState
@Deprecated public JDFBooleanState appendBooleanState()
public JDFBooleanState appendBooleanState(String nam)
nam - the name attribute of the newly appended BooleanState
public JDFIntegerState getIntegerState(int iSkip)
iSkip - number of elements to skip (0 -> get first element)
public JDFIntegerState getIntegerState(String nam)
nam - the name attribute of the newly appended IntegerState
@Deprecated public JDFIntegerState getCreateIntegerState(int iSkip)
public JDFIntegerState getCreateIntegerState(String nam)
nam - the name attribute of the newly appended IntegerState
public JDFIntegerState appendIntegerState()
public JDFIntegerState appendIntegerState(String nam)
name - the Name attribute of the newly appended IntegerState
public JDFNumberState getNumberState(int iSkip)
iSkip - number of elements to skip
public JDFNumberState getNumberState(String nam)
nam - the Name attribute of the newly appended NumberState
@Deprecated public JDFNumberState getCreateNumberState(int iSkip)
public JDFNumberState getCreateNumberState(String nam)
nam - the Name attribute of the newly appended NumberState
public JDFNumberState appendNumberState(String nam)
nam - the Name attribute of the newly appended NumberState
@Deprecated public JDFNumberState appendNumberState()
public JDFEnumerationState getEnumerationState(int iSkip)
iSkip - number of elements to skip (0 -> get first element)
public JDFEnumerationState getEnumerationState(String nam)
name - the Name attribute of the newly appended EnumerationState
@Deprecated public JDFEnumerationState getCreateEnumerationState(int iSkip)
iSkip - number of elements to skip (0 -> get first element)
public JDFEnumerationState getCreateEnumerationState(String nam)
nam - the name attribute of the newly appended EnumerationState
@Deprecated public JDFEnumerationState appendEnumerationState()
public JDFEnumerationState appendEnumerationState(String nam)
nam - the name attribute of the newly appended NumberState
public JDFNameState getNameState(int iSkip)
iSkip - number of elements to skip
public JDFNameState getNameState(String nam)
nam - the Name attribute of the newly appended NameState
@Deprecated public JDFNameState getCreateNameState(int iSkip)
public JDFNameState getCreateNameState(String nam)
nam - the name attribute of the newly appended NameState
@Deprecated public JDFNameState appendNameState()
public JDFNameState appendNameState(String nam)
nam - the name attribute of the newly appended NameState
public JDFStringState getStringState(int iSkip)
iSkip - number of elements to skip
public JDFStringState getStringState(String nam)
nam - the Name attribute of the newly appended StringState
@Deprecated public JDFStringState getCreateStringState(int iSkip)
public JDFStringState getCreateStringState(String nam)
nam - the Name attribute of the newly appended StringState
@Deprecated public JDFStringState appendStringState()
public JDFStringState appendStringState(String nam)
nam - the Name attribute of the newly appended StringState
public JDFXYPairState getXYPairState(int iSkip)
iSkip - number of elements to skip
public JDFXYPairState getXYPairState(String nam)
nam - the Name attribute of the newly appended XYPairState
@Deprecated public JDFXYPairState getCreateXYPairState(int iSkip)
public JDFXYPairState getCreateXYPairState(String nam)
nam - the Name attribute of the newly appended XYPairState
@Deprecated public JDFXYPairState appendXYPairState()
public JDFXYPairState appendXYPairState(String nam)
nam - the Name attribute of the newly appended XYPairState
public JDFShapeState getShapeState(int iSkip)
iSkip - number of elements to skip (0 -> get first element)
public JDFShapeState getShapeState(String nam)
nam - the Name attribute of the newly appended ShapeState
@Deprecated public JDFShapeState getCreateShapeState(int iSkip)
public JDFShapeState getCreateShapeState(String nam)
nam - the Name attribute of the newly appended ShapeState
@Deprecated public JDFShapeState appendShapeState()
public JDFShapeState appendShapeState(String nam)
nam - the Name attribute of the newly appended ShapeState
public JDFMatrixState getMatrixState(int iSkip)
iSkip - number of elements to skip (0 -> get first element)
public JDFMatrixState getMatrixState(String nam)
nam - the Name attribute of the newly appended MatrixState
@Deprecated public JDFMatrixState getCreateMatrixState(int iSkip)
public JDFMatrixState getCreateMatrixState(String nam)
nam - the Name attribute of the newly appended MatrixState
@Deprecated public JDFMatrixState appendMatrixState()
public JDFMatrixState appendMatrixState(String nam)
nam - the Name attribute of the newly appended MatrixState
public JDFDateTimeState getDateTimeState(int iSkip)
iSkip - number of elements to skip (0 -> get first element)
public JDFDateTimeState getDateTimeState(String nam)
nam - the Name attribute of the newly appended DateTimeState
@Deprecated public JDFDateTimeState getCreateDateTimeState(int iSkip)
public JDFDateTimeState getCreateDateTimeState(String nam)
nam - the Name attribute of the newly appended DateTimeState
@Deprecated public JDFDateTimeState appendDateTimeState()
public JDFDateTimeState appendDateTimeState(String nam)
nam - the Name attribute of the newly appended DateTimeState
public JDFDurationState getDurationState(int iSkip)
iSkip - number of elements to skip (0 -> get first element)
public JDFDurationState getDurationState(String nam)
nam - the Name attribute of the newly appended DurationState
@Deprecated public JDFDurationState getCreateDurationState(int iSkip)
public JDFDurationState getCreateDurationState(String nam)
nam - the Name attribute of the newly appended DurationState
@Deprecated public JDFDurationState appendDurationState()
public JDFDurationState appendDurationState(String nam)
nam - the Name attribute of the newly appended DurationState
public JDFPDFPathState getPDFPathState(int iSkip)
iSkip - number of elements to skip (0 -> get first element)
public JDFPDFPathState getPDFPathState(String nam)
nam - the Name attribute of the newly appended PDFPathState
@Deprecated public JDFPDFPathState getCreatePDFPathState(int iSkip)
public JDFPDFPathState getCreatePDFPathState(String nam)
nam - the Name attribute of the newly appended PDFPathState
@Deprecated public JDFPDFPathState appendPDFPathState()
public JDFPDFPathState appendPDFPathState(String nam)
nam - the Name attribute of the newly appended PDFPathState
public JDFRectangleState getRectangleState(int iSkip)
iSkip - number of elements to skip (0 -> get first element)
public JDFRectangleState getRectangleState(String nam)
nam - the Name attribute of the newly appended RectangleState
@Deprecated public JDFRectangleState getCreateRectangleState(int iSkip)
public JDFRectangleState getCreateRectangleState(String nam)
nam - the Name attribute of the newly appended RectangleState
@Deprecated public JDFRectangleState appendRectangleState()
public JDFRectangleState appendRectangleState(String nam)
nam - the Name attribute of the newly appended RectangleState
public final VElement getDevCapVector(VElement devCaps,
boolean bDirect)
devCaps - bDirect -
public final KElement stateReport(KElement e,
JDFBaseDataTypes.EnumFitsValue testlists,
JDFElement.EnumValidationLevel level,
boolean ignoreExtensions,
boolean bRecurse,
KElement parentReport)
e - element to testtestlists - FitsValue_Allowed or FitsValue_Present testlists that are
specified for the State elements. (Will be used in fitsValue
method of the State element)level - validation level
null there are no errors.e fits the corresponding States and DevCap
subelements of this DevCap.public final String getNamePath(boolean bRecurse)
default: getNamePath(false)
bRecurse - if true, returns "DevCapsName/SubelemName1/SubelemName2/..."
public VString getNamePathVector()
getNamePathVector in interface ICapabilityElementpublic final VString getNamePathVector(boolean bRecurse)
bRecurse - if true, returns "DevCapsName/SubelemName1/SubelemName2/..."
public String getName()
getName in class JDFAutoDevCap
public VElement getStates(boolean bDirect,
String id)
bDirect - if false, recurse into child elements, else return only direct
child statesid - ID attribute of the requested string
public void setMaxOccurs(int value)
MaxOccurs, also handles unbounded
setMaxOccurs in class JDFAutoDevCapvalue - the value to set the attribute topublic int getMaxOccurs()
MaxOccurs, also handles unbounded
getMaxOccurs in class JDFAutoDevCap
public VElement getMatchingElementsFromParent(KElement parent,
VElement vDevCap)
this
node - the node to search intestValidity - if true, recusively check for validity of the elements, else
only get children by name
null if none were foundpublic VElement getAllMatchingElementsFromParent(KElement parent)
node - the node to search in
null if none were found
public boolean setDefaultsFromCaps(KElement element,
boolean bAll)
element - the element that is defaultedbAll - if false, only add if minOccurs>=1 and required=true or a
default exists
public VString getInvalidAttributes(JDFElement.EnumValidationLevel level,
boolean bIgnorePrivate,
int nMax)
JDFElement
getInvalidAttributes in class JDFElementlevel - validation levelbIgnorePrivate - if true, do not worry about attributes in other namespacesnMax - maximum size of the returned vector
public JDFModulePool getModulePool()
ICapabilityElement
getModulePool in interface ICapabilityElementpublic JDFModulePool getCreateModulePool()
ICapabilityElement
getCreateModulePool in interface ICapabilityElementpublic JDFDeviceCap.EnumAvailability getModuleAvailability()
public JDFModuleCap appendModuleRef(String id)
ICapabilityElement
appendModuleRef in interface ICapabilityElementJDFModuleCap the Modulecap that id refers tppublic JDFTerm.EnumTerm getEvaluationType()
ICapabilityElement
getEvaluationType in interface ICapabilityElement
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||