|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.vhosting.netconf.frame.ListValue
public class ListValue
This class provides the methods necessary for the assignment of the elements contained within a list. A list can accept one or more instances of this class to complete their own set of assignments.
Method Summary | |
---|---|
void |
assignAnyxml(Anyxml a,
org.w3c.dom.Document e)
Allows you to assign an XML document to an Anyxml element previously linked to this. |
void |
assignLeaf(Leaf l,
java.lang.String canonicalValue)
Allows you to assign a value to a leaf element previously linked to this. |
void |
assignLeafList(LeafList l,
java.lang.String[] canonicalValues)
Allows you to assign values to a leaf list element previously linked to this. |
void |
clear()
Remove all assignments of values made up for himself or on their sub elements in a recursive manner. |
java.util.List<Attribute> |
getAnyxmlAttributes(Anyxml a)
Get the list of attributes of the specified Anyxml element previously linked to this. |
org.w3c.dom.Document |
getAnyxmlValue(Anyxml a)
Get the XML Document of the specified Anyxml element previously linked to this. |
java.lang.Object |
getElemetByUniqueName(java.lang.String uniqueName)
Get an element of the PRC structure previously linked to this through its unique name. |
java.util.List<Attribute> |
getLeafAttributes(Leaf l)
Get the list of attributes of the specified leaf element previously linked to this. |
java.lang.String |
getLeafCanonicalValue(Leaf l)
Get the value of the specified leaf element previously linked to this. |
java.util.List<Attribute>[] |
getLeafListAttributes(LeafList l)
Get the lists of attributes of the specified leaf list element previously linked to this. |
java.lang.String[] |
getLeafListCanonicalValues(LeafList l)
Get the values of the specified leaf list element previously linked to this. |
Container |
getMirrorContainer(ContainerReference cr)
Get the unique instance of container for this ListValue created through the container reference specified. |
List |
getMirrorList(ListReference lr)
Get the unique instance of list for this ListValue created through the list reference specified. |
java.util.Set<java.lang.String> |
getUniqueNanes()
Get all the unique names of the elements previously linked to this. |
boolean |
hasValues()
Check if assignments were made up for himself or on their sub elements in a recursive manner. |
void |
unsetAnyxml(Anyxml a)
Unset the XML document associated with the specified Anyxml element previously linked to this. |
void |
unsetLeaf(Leaf l)
Unset the value associated with the specified leaf element previously linked to this. |
void |
unsetLeafList(LeafList l)
Unset the values associated with the specified leaf list element previously linked to this. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void assignLeaf(Leaf l, java.lang.String canonicalValue)
Assignable
l
- The leaf element.canonicalValue
- The value of the leaf.Node
public void assignLeafList(LeafList l, java.lang.String[] canonicalValues)
Assignable
l
- The leaf list element.canonicalValues
- The values of the leaf list.Node
public void assignAnyxml(Anyxml a, org.w3c.dom.Document e)
Assignable
a
- The Anyxml element.e
- The XML Document.Anyxml.createEmptyDocument()
public java.lang.String getLeafCanonicalValue(Leaf l)
Assignable
l
- The leaf element.
public java.lang.String[] getLeafListCanonicalValues(LeafList l)
Assignable
l
- The leaf list element.
public org.w3c.dom.Document getAnyxmlValue(Anyxml a)
Assignable
a
- The Anyxml element.
public java.util.Set<java.lang.String> getUniqueNanes()
public java.lang.Object getElemetByUniqueName(java.lang.String uniqueName)
uniqueName
- The unique name of the element.
public void unsetLeaf(Leaf l)
Assignable
l
- The leaf element.public void unsetLeafList(LeafList l)
Assignable
l
- The leaf list element.public void unsetAnyxml(Anyxml a)
Assignable
a
- The Anyxml element.public void clear()
Clearable
clear
in interface Clearable
public boolean hasValues()
Clearable
hasValues
in interface Clearable
public Container getMirrorContainer(ContainerReference cr)
cr
- The container reference previously linked
to the List owner of this ListValue.
public List getMirrorList(ListReference lr)
lr
- The list reference previously linked
to the List owner of this ListValue.
public java.util.List<Attribute> getLeafAttributes(Leaf l)
Assignable
l
- The leaf element.
public java.util.List<Attribute>[] getLeafListAttributes(LeafList l)
Assignable
l
- The leaf list element.
public java.util.List<Attribute> getAnyxmlAttributes(Anyxml a)
Assignable
a
- The Anyxml element.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |