public class JDFDevCap extends JDFAutoDevCap implements ICapabilityElement
JDFElement.EnumBoolean, JDFElement.EnumNamedColor, JDFElement.EnumNodeStatus, JDFElement.EnumOrientation, JDFElement.EnumPoolType, JDFElement.EnumSeparation, JDFElement.EnumSettingsPolicy, JDFElement.EnumValidationLevel, JDFElement.EnumVersion, JDFElement.EnumXYRelation
KElement.SimpleElementNameComparator, KElement.SimpleNodeComparator, KElement.SingleAttributeComparator, KElement.SingleXPathComparator
firstChild, fNodeListCache, ownerDocument
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
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
DERIVATION_EXTENSION, DERIVATION_LIST, DERIVATION_RESTRICTION, DERIVATION_UNION
Constructor and Description |
---|
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
|
Modifier and Type | Method and Description |
---|---|
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()
|
appendLoc, getAllLoc, getCreateLoc, getDevCapRefs, getDevNS, getLoc, getMinOccurs, getModuleRefs, getResourceUsage, setAvailability, setDevNS, setMinOccurs, setModuleRefs, setName, setResourceUsage
appendAnchor, appendBestEffortExceptions, appendComment, appendElement, appendGeneralID, appendGeneralID, appendGeneralID, appendHRef, appendHRef, appendMustHonorExceptions, appendOperatorInterventionExceptions, appendPreview, appendrRefs, attributeType, clearTargets, cloneNewDoc, copyInto, deprecatedAttributes, eraseDefaultAttributes, exclusiveOneOfAttribute, exclusiveOneOfElement, fixVersion, getAllRefs, getAtrType, getAttributeInfo, getBestEffortExceptions, getChildElement, getChildElements, getChildElementVector_JDFElement, getChildElementVector, getChildIds, getChildrenByTagName, getChildrenByTagName, getChildWithAttribute, getChildWithMatchingAttribute, getComment, getComment, getCommentURL, getCreateComment, getCreatePreview, getCreateRefElement, getDeepElementByID, getDefaultAttributeMap, getDefaultJDFVersion, getDeprecatedAttributes, getDeprecatedElements, getDescriptiveName, getElement_JDFElement, getElement, getElementIDPrefix, getElementNameVector, getEnumAttribute, getEnumerationsAttribute, getEnumerationsAttribute, getEnumforAttribute, getEnumNodeName, getEnumString, getFirstVersion, getGeneralID, getGeneralID, getGeneralID, getGeneralIDMap, getGeneralIDVectorMap, getHRef, getHRefs, getHRefs, getInsertElements, getInsertElementVector, getInvalidElements_JDFElement, getInvalidElements, getJDFRoot, getJMFRoot, getLastVersion, getLinkFromUserData, getLinkRoot, getMaxVersion, getMissingAttributes, getMissingAttributeVector, getMissingElements, getMissingElementVector, getMustHonorExceptions, getNamesVector, getOperatorInterventionExceptions, getOwnerDocument_JDFElement, getParentJDF, getParentJDF, getPartMap, getPartMapVector, getPrereleaseAttributes, getPrereleaseElements, getPreview, getRefElement, getRefElements, getRefString, getrRefs, getSchemaURL, getSchemaURL, getSchemaURL, getSettingsPolicy, getStatus, getTarget_JDFElement, getTarget, getTarget, getTheAttributeInfo_JDFElement, getTheElementInfo_JDFElement, getTypeForAttribute, getUnknownAttributes, getUnknownAttributeVector, getUnknownElements, getUnknownElementVector, getUnknownPoolElements, getURLDoc, getURLInputStream, getValueForNewAttribute, getVersion, getVersion, getvHRefRes, getvHRefRes, getXMLDocUserData, hasMissingAttributes, hasMissingElements, hasPartMap, hasSettingsPolicy, hasUnknownAttributes, hasUnknownElements, idString, includesMatchingAttribute, inlineRefElements, insertBefore, isComment, isCommentStatic, isDeprecated, isDirty, isInJDFNameSpace, isInJDFNameSpaceStatic, isInJDFNameSpaceStatic, isInXJDFNameSpaceStatic, isInXJDFNameSpaceStatic, isJDFNode, isRefElement, isRefElementStatic, isResource, isResourceLink, isResourceLinkStatic, isResourceStatic, isResourceUpdate, isValid_JDFElement, isValid, isXJDF, jdfVersion, knownAttributes, knownElements, matchesPath, newID, numChildElements_JDFElement, numChildElements, optionalAttributes, optionalElements, prereleaseAttributes, prereleaseElements, refElement, removeBestEffortExceptions, removeChild, removeChild, removeChildren, removeExtensions, removeFromBestEffortExceptions, removeFromMustHonorExceptions, removeFromOperatorInterventionExceptions, removeFromrRefs, removeGeneralID, removePartMap, removeRefElement, removeSettingsPolicy, replaceChild, requiredAttributes, requiredElements, requiredLevel, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeNameTimeStamp, setAttributes, setBestEffortExceptions, setCommentURL, setDefaultJDFVersion, setDescriptiveName, setDirty, setEnumerationsAttribute, setGeneralID, setLongID, setMustHonorExceptions, setOperatorInterventionExceptions, setPartMap, setPartMapVector, setSettingsPolicy, setStatus, setVersion, setvStringAttribute, stringToVersion, uniqueElements, upDaterRefs, validAttribute, validAttribute, validEnumAttribute, validEnumerationsAttribute, validResourcePosition, version, write2Dir
addAttribute, addAttribute, addNameSpace, ancestorDistance, appendAttribute, appendCData, appendCData, appendChild, appendElement, appendElementN, appendElementRaw, appendEntityReference, appendText, appendTextElement, appendXMLComment, appendXMLComment, buildRelativeXPath, buildXPath, buildXPath, buildXPath, clone, copyAttribute, copyAttribute, copyElement, copyElements, copyXPathValue, createRoot, deleteNode, eraseEmptyAttributes, eraseEmptyNodes, fillHashSet, fitsName_KElement, fitsName, flush, generateDotID, getAttribute_KElement, getAttribute_KElement, getAttribute, getAttribute, getAttributeMap_KElement, getAttributeMap, getAttributeRaw, getAttributeVector_KElement, getAttributeVector, getBoolAttribute, getCData, getChildAttributeList, getChildByTagName, getChildElementArray, getChildElementVector_KElement, getChildElementVector, getChildElementVector, getChildFromList, getChildFromList, getChildNode, getChildNodes_KElement, getChildNodeVector, getChildrenByClass, getChildrenByTagName_KElement, getChildrenFromList, getChildrenIgnoreList, getChildrenWithAttribute, getCreateChildWithAttribute, getCreateElement_KElement, getCreateElement, getCreateElement, getCreateXPathElement, getDeepElement, getDeepParent, getDeepParent, getDeepParentChild, getDeepParentNotName, getDocRoot, getDOMAttr, getElement_KElement, getElement, getElementByClass, getElementHashMap, getElementsByTagName_KElement, getFirstChildElement, getFirstChildElement, getFirstChildElement, getFirstElementNode, getInheritedAttribute, getInheritedElement, getInheritedXPathAttribute, getIntAttribute, getLocalNameStatic, getLongAttribute, getMultipleIDs, getNamespaceURI, getNamespaceURIFromPrefix, getNextElementNode, getNextSiblingElement, getNextSiblingElement, getNextSiblingElement, getNonEmpty_KElement, getNonEmpty, getNumCDatas, getNumChildNodes, getNumChildText, getNumXMLComments, getOwnerDocument_KElement, getParentNode_KElement, getPreviousSiblingElement, getPreviousSiblingElement, getRealAttribute, getTarget_KElement, getText, getText, getTree, getTreeElement, getXMLComment, getXMLNSNameSpace, getXMLNSPrefix, getXPathAttribute, getXPathAttributeMap, getXPathElement, getXPathElementVector, getXPathValueMap, getXSIType, hasAttribute_KElement, hasAttribute, hasAttribute, hasAttributes, hasChildElement, hasChildElements, hasChildNodes, hasChildText, hasNonEmpty_KElement, hasNonEmpty, hasXPathNode, includesAttribute, includesAttributes, insertAt, insertBefore, isAncestor, isEqual, isWildCard, matchesPath, matchesPathName, mergeElement, moveAttribute, moveAttribute, moveElement, moveElements, moveMe, normalize, numChildElements_KElement, numChildNodes, numChildNodes, numChildrenByClass, numSiblingElements, pushUp, removeAllText, removeAttribute_KElement, removeAttribute, removeAttribute, removeAttributeNode, removeAttributeNS, removeAttributes, removeCData, removeChildNode, removeChildren, removeChildrenByClass, removeChildText, removeExtensions, removeFromAttribute, removeXMLComment, removeXPathAttribute, removeXPathElement, renameAttribute, renameAttribute, renameElement, replaceElement, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setAttributeNSRaw, setAttributeRaw, setAttributes, setAttributes, setAttributes, setAttributesRaw, setBoolAttribute, setDirty, setIntAttribute, setNamespaceURI, setNodeValue, setNonEmpty, setPrefix, setRealAttribute, setText, setvStringAttribute, setXMLComment, setXPathAttribute, setXPathValue, setXPathValues, setXSIType, sortChild, sortChild, sortChildren, sortChildren, sortChildren, sortChildren, toDisplayXML, toXML, toXML, uniqueID, write2File, write2File, write2Stream, xmlNameSpace, xmlnsLocalName, xmlnsPrefix
getBaseURI, getLocalName, getPrefix, getTypeName, getTypeNamespace, isDerivedFrom, setType, setValues
cloneNode, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getDefaultAttributes, getElementsByTagName, getElementsByTagNameNS, getNodeName, getNodeType, getSchemaTypeInfo, getTagName, getXercesAttribute, hasAttributeNS, isEqualNode, reconcileDefaultAttributes, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setOwnerDocument, setReadOnly, setupDefaultAttributes, setXercesAttributeNode, synchronizeData
getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, getTextContent, hasChildNodes, item, setTextContent, synchronizeChildren
getNextSibling, getParentNode, getPreviousSibling
addEventListener, changed, changes, compareDocumentPosition, compareTreePosition, dispatchEvent, getContainer, getFeature, getNodeNumber, getNodeValue, getReadOnly, getUserData, getUserData, getUserDataRecord, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, needsSyncChildren, removeEventListener, setUserData, setUserData
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getModuleRefs, setAvailability
getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS
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
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
- protected ElementInfo getTheElementInfo()
getTheElementInfo
in class JDFAutoDevCap
protected AttributeInfo getTheAttributeInfo()
getTheAttributeInfo
in class JDFAutoDevCap
public String toString()
toString
in class JDFAutoDevCap
Object.toString()
public boolean init()
public void setDevCapRefs(VString value)
DevCapRefs
setDevCapRefs
in class JDFAutoDevCap
value
- the value to set the attribute topublic void setID(String value)
ID
setID
in class JDFAutoDevCap
value
- the value to set the attribute topublic String getID()
ID
getID
in class JDFAutoDevCap
protected String getIDPrefix()
KElement
getIDPrefix
in class KElement
public JDFDeviceCap.EnumAvailability getAvailability()
Availability
getAvailability
in interface ICapabilityElement
getAvailability
in class JDFAutoDevCap
public 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 existiSkip
- number of elements to skippublic 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 BooleanStatepublic 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 IntegerStatepublic JDFIntegerState appendIntegerState()
public JDFIntegerState appendIntegerState(String nam)
name
- the Name attribute of the newly appended IntegerStatepublic JDFNumberState getNumberState(int iSkip)
iSkip
- number of elements to skippublic 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 NumberStatepublic 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 NumberStatepublic JDFNameState getNameState(int iSkip)
iSkip
- number of elements to skippublic 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 NameStatepublic JDFStringState getStringState(int iSkip)
iSkip
- number of elements to skippublic 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 StringStatepublic JDFXYPairState getXYPairState(int iSkip)
iSkip
- number of elements to skippublic 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 XYPairStatepublic 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 ShapeStatepublic 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 MatrixStatepublic 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 DateTimeStatepublic 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 DurationStatepublic 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 PDFPathStatepublic 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 RectangleStatepublic 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 levelnull
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 ICapabilityElement
public 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 stringpublic void setMaxOccurs(int value)
MaxOccurs
, also handles unboundedsetMaxOccurs
in class JDFAutoDevCap
value
- the value to set the attribute topublic int getMaxOccurs()
MaxOccurs
, also handles unboundedgetMaxOccurs
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 namenull
if none were foundpublic VElement getAllMatchingElementsFromParent(KElement parent)
node
- the node to search innull
if none were foundpublic 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 existspublic VString getInvalidAttributes(JDFElement.EnumValidationLevel level, boolean bIgnorePrivate, int nMax)
JDFElement
getInvalidAttributes
in class JDFElement
level
- validation levelbIgnorePrivate
- if true, do not worry about attributes in other namespacesnMax
- maximum size of the returned vectorpublic JDFModulePool getModulePool()
ICapabilityElement
getModulePool
in interface ICapabilityElement
public JDFModulePool getCreateModulePool()
ICapabilityElement
getCreateModulePool
in interface ICapabilityElement
public JDFDeviceCap.EnumAvailability getModuleAvailability()
public JDFModuleCap appendModuleRef(String id)
ICapabilityElement
appendModuleRef
in interface ICapabilityElement
JDFModuleCap
the Modulecap that id refers tppublic JDFTerm.EnumTerm getEvaluationType()
ICapabilityElement
getEvaluationType
in interface ICapabilityElement
Copyright © 2018. All rights reserved.