|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.novell.nds.dirxml.engine.gcv.GCDefinitions
com.novell.nds.dirxml.engine.gcv.ResourceParams
public class ResourceParams
ResourceParams is an aggregation of GCValue objects.
The difference between ResourceParams and its parent class
GCDefinitions is that ResourceParams allows
GCVs of type "password-ref". It also differs in that it is constructed from a
definitions element that may come from an arbitrary location in a document
Methods are provided to parse an XML representation of Global Configuration Values and to serialize the contained collection of GCVs to an XML representation.
For user interface purposes the list of GCValue objects is ordered.
| Field Summary |
|---|
| Fields inherited from class com.novell.nds.dirxml.engine.gcv.GCDefinitions |
|---|
defsList |
| Constructor Summary | |
|---|---|
ResourceParams()
Construct an empty ShimParams object. |
|
| Method Summary | |
|---|---|
static ResourceParams |
constructResourceParams(Element element)
Construct a ShimParams object and association GCValue objects
from a DOM XML element containing the XML representation. |
Document |
toXml()
Return the DOM XML representation of this ShimParams object and associated
GCValue objects. |
Element |
toXml(Node parent)
Create the DOM XML representation of this ShimParams object and associated
GCValue objects in an existing document. |
| Methods inherited from class com.novell.nds.dirxml.engine.gcv.GCDefinitions |
|---|
appendValue, apply, apply, checkAllowedType, construct, construct, construct, construct, construct, construct0, getValue, hasBeenModified, insertValue, insertValue, iterator, localize, merge, removeValue, removeValue, resetModified, shallowIterator, toBytes, toXML |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResourceParams()
ShimParams object.
| Method Detail |
|---|
public static ResourceParams constructResourceParams(Element element)
throws GCVException
ShimParams object and association GCValue objects
from a DOM XML element containing the XML representation.
Typically, the DOM element would be the result of parsing the value of the DirXML-Data attribute of a DirXML-Resource object
element - The definitions element
GCVException - thrown if XML is incorrect in any way.
public Element toXml(Node parent)
throws GCVException
ShimParams object and associated
GCValue objects in an existing document.
parent - the parent node for creating the definitions element
GCVException - thrown if XML creation fails because one or more GCVs
is incomplete.
public Document toXml()
throws GCVException
ShimParams object and associated
GCValue objects.
toXml in class GCDefinitionsGCVException - thrown if XML creation fails because one or more GCVs
is incomplete.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||