|
||||||||||
| 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.devicecapability.JDFAbstractState
org.cip4.jdflib.resource.devicecapability.JDFStringState
public class JDFStringState
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.cip4.jdflib.resource.devicecapability.JDFAbstractState |
|---|
JDFAbstractState.EnumUserDisplay |
| 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 |
| Nested classes/interfaces inherited from interface org.cip4.jdflib.datatypes.JDFBaseDataTypes |
|---|
JDFBaseDataTypes.EnumFitsValue |
| 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.cip4.jdflib.datatypes.JDFBaseDataTypes |
|---|
EPSILON, MAX_CMYK_COLOR, MAX_LAB_COLOR, MAX_MATRIX_DIMENSION, MAX_RECTANGLE_DIMENSION, MAX_RGB_COLOR, MAX_SHAPE_DIMENSION, MAX_XY_DIMENSION |
| Fields inherited from interface org.w3c.dom.TypeInfo |
|---|
DERIVATION_EXTENSION, DERIVATION_LIST, DERIVATION_RESTRICTION, DERIVATION_UNION |
| Constructor Summary | |
|---|---|
JDFStringState(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String qualifiedName)
constructor for JDFStringState |
|
JDFStringState(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String myNamespaceURI,
String qualifiedName)
constructor for JDFStringState |
|
JDFStringState(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String myNamespaceURI,
String qualifiedName,
String myLocalName)
constructor for JDFStringState |
|
| Method Summary | |
|---|---|
void |
addValue(String value,
JDFBaseDataTypes.EnumFitsValue testlists)
add a value to the list of values defined by testlists |
JDFValue |
appendValue()
|
void |
appendValueAllowedValue(String value)
Sets the AllowedValue attribute of the iSkip'th subelement
Value |
JDFLoc |
appendValueLocLoc(int iSkip)
Appends element Loc to the end of the iSkip'th subelement
Value |
boolean |
fitsValue(String value,
JDFBaseDataTypes.EnumFitsValue testlists)
fitsValue - checks whether value matches the Allowed/Present
test lists specified for this State |
JDFIntegerRange |
getAllowedLength()
get attribute AllowedLength |
String |
getAllowedRegExp()
|
String |
getCurrentValue()
|
String |
getDefaultValue()
|
JDFTerm.EnumTerm |
getEvaluationType()
get the type of evaluation that is appropriate for this ICapabilityElement |
JDFIntegerRange |
getPresentLength()
|
String |
getPresentRegExp()
|
protected AttributeInfo |
getTheAttributeInfo()
|
protected ElementInfo |
getTheElementInfo()
|
JDFValue |
getValue(int iSkip)
|
String |
getValueAllowedValue(int iSkip)
Gets the AllowedValue attribute of the iSkip'th subelement
Value |
JDFLoc |
getValueLocLoc(int iSkip,
int jSkip)
Gets the jSkip'th element Loc of the iSkip'th element
Value |
JDFBaseDataTypes.EnumFitsValue |
getValueValueUsage(int iSkip)
Gets the value of attribute ValueUsage of the iSkip'th
subelement Value |
void |
setAllowedLength(JDFIntegerRange value)
set attribute AllowedLength |
void |
setAllowedRegExp(String value)
|
void |
setCurrentValue(String value)
|
void |
setDefaultValue(String value)
|
void |
setPresentLength(JDFIntegerRange value)
|
void |
setPresentRegExp(String value)
|
void |
setValueValueUsage(int iSkip,
JDFBaseDataTypes.EnumFitsValue value)
Sets the ValueUsage attribute of the i-th subelement Value |
String |
toString()
toString |
| Methods inherited from class org.cip4.jdflib.resource.devicecapability.JDFAbstractState |
|---|
appendLoc, appendModuleRef, appendValueLoc, fitsLength, fitsListType, fitsRegExp, getActionRefs, getAvailability, getCreateLoc, getCreateModulePool, getDependentMacroRef, getDevNS, getEditable, getHasDefault, getIDPrefix, getInvalidAttributesImpl, getListType, getLoc, getMacroRefs, getMatchingObjectInNode, getMaxOccurs, getMinOccurs, getModuleAvailability, getModulePool, getModuleRefs, getName, getNamePath, getNamePathVector, getNamePathVector, getParentDevCap, getParentDevCaps, getRequired, getUserDisplay, getValueLoc, init, setActionRefs, setAvailability, setDefaultsFromCaps, setDependentMacroRef, setDevNS, setEditable, setHasDefault, setListType, setMacroRefs, setMaxOccurs, setMinOccurs, setName, setRequired, setUserDisplay |
| 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 JDFStringState(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String qualifiedName)
myOwnerDocument - qualifiedName -
public JDFStringState(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String myNamespaceURI,
String qualifiedName)
myOwnerDocument - myNamespaceURI - qualifiedName -
public JDFStringState(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String myNamespaceURI,
String qualifiedName,
String myLocalName)
myOwnerDocument - myNamespaceURI - qualifiedName - myLocalName - | Method Detail |
|---|
protected AttributeInfo getTheAttributeInfo()
getTheAttributeInfo in class JDFAbstractStateprotected ElementInfo getTheElementInfo()
getTheElementInfo in class JDFAbstractStatepublic String toString()
toString in class JDFAbstractStateObject.toString()public void setCurrentValue(String value)
public String getCurrentValue()
public void setDefaultValue(String value)
public String getDefaultValue()
public void setAllowedRegExp(String value)
public String getAllowedRegExp()
getAllowedRegExp in class JDFAbstractStatepublic void setPresentRegExp(String value)
public String getPresentRegExp()
getPresentRegExp in class JDFAbstractStatepublic JDFValue getValue(int iSkip)
public JDFValue appendValue()
public JDFLoc getValueLocLoc(int iSkip,
int jSkip)
Loc of the iSkip'th element
Value
getValueLocLoc in class JDFAbstractStateiSkip - number of Value elements to skip (iSkip=0 ->
first Value element)jSkip - number of Loc subelements of iSkip'th
Value element to skip (jSkip=0 -> first
Loc element)
public JDFLoc appendValueLocLoc(int iSkip)
Loc to the end of the iSkip'th subelement
Value
appendValueLocLoc in class JDFAbstractStateiSkip - number of Value elements to skip (iSkip=0 ->
first Value element)
Loc elementpublic void appendValueAllowedValue(String value)
AllowedValue attribute of the iSkip'th subelement
Value
value - value to set the attribute topublic final String getValueAllowedValue(int iSkip)
AllowedValue attribute of the iSkip'th subelement
Value
iSkip - the number of Value elements to skip
public void setValueValueUsage(int iSkip,
JDFBaseDataTypes.EnumFitsValue value)
int - iSkip: the number of Value elements to skipEnumFitsValue - value: value to set the attribute topublic final JDFBaseDataTypes.EnumFitsValue getValueValueUsage(int iSkip)
ValueUsage of the iSkip'th
subelement Value
iSkip - the number of Value elements to skip
public void addValue(String value,
JDFBaseDataTypes.EnumFitsValue testlists)
JDFAbstractState
addValue in class JDFAbstractStatevalue - value to testtestlists - switches between Allowed test lists and Present test lists. Has two values: Allowed and Present.
public final boolean fitsValue(String value,
JDFBaseDataTypes.EnumFitsValue testlists)
value matches the Allowed/Present
test lists specified for this State
fitsValue in class JDFAbstractStatevalue - value to testtestlists - the test lists the value has to match. In this State the test
lists are ValueList AND ValueMod.value matches testlists or if
AllowedValueList and AllowedValueMod are not specifiedpublic void setAllowedLength(JDFIntegerRange value)
JDFAbstractState
setAllowedLength in class JDFAbstractStatevalue - the value to set the attribute topublic JDFIntegerRange getAllowedLength()
JDFAbstractState
getAllowedLength in class JDFAbstractStatepublic void setPresentLength(JDFIntegerRange value)
setPresentLength in class JDFAbstractStatepublic JDFIntegerRange getPresentLength()
getPresentLength in class JDFAbstractStatepublic JDFTerm.EnumTerm getEvaluationType()
ICapabilityElement
getEvaluationType in interface ICapabilityElementgetEvaluationType in class JDFAbstractStateICapabilityElement.getEvaluationType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||