|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.xerox.jxip.XipDependency
public class XipDependency
XipDependency class
| Constructor Summary | |
|---|---|
XipDependency(java.lang.String name,
long index)
Constructor |
|
| Method Summary | |
|---|---|
XipNode |
getArg(int n)
Gets the Nth node argument of this dependency. |
java.lang.String |
getFeature(java.lang.String name)
Gets the value of the specified feature |
java.util.Vector<XipFeature> |
getFeatures()
Gets the features |
long |
getIndex()
Gets the node index |
java.lang.String |
getName()
Gets the dependency name |
java.lang.String |
getNameAndParamName()
Gets the nameAndParamName attribute of the XipDependency object |
java.util.Vector<XipNode> |
getParameters()
Gets the parameters |
boolean |
hasFeature(java.lang.String name,
java.lang.String value)
Tests if the dependency has a given feature. |
boolean |
hasFeatures(java.lang.String features)
Tests if the dependency has given features. |
void |
setFeatures(java.util.Vector<XipFeature> feat)
Sets the features The features: a Vector of XipFeatures |
java.lang.String |
toString()
return the dependency name |
java.lang.String |
toString(boolean withFeature)
return XipDependency data as a string |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public XipDependency(java.lang.String name,
long index)
name - name of the dependencyindex - | Method Detail |
|---|
public java.lang.String getName()
public java.lang.String getNameAndParamName()
public long getIndex()
public java.util.Vector<XipFeature> getFeatures()
public java.lang.String getFeature(java.lang.String name)
name -
public boolean hasFeature(java.lang.String name,
java.lang.String value)
name - the name of the featurevalue - the value of the feature ("*" if all values are fine) Value
can be negated ("~" or "~value")
public boolean hasFeatures(java.lang.String features)
features - the list features in XIP format
public void setFeatures(java.util.Vector<XipFeature> feat)
feat - The new features valuepublic java.util.Vector<XipNode> getParameters()
public XipNode getArg(int n)
n - The order of the required argument ( n >= 1, argument 1 being
the first argument).
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toString(boolean withFeature)
withFeature - if true build the string with the dependency features
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||