|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.novell.nds.dirxml.engine.gcv.GCDefinitions com.novell.nds.dirxml.engine.gcv.EngineControls
Class encapsulating DirXML Engine control values.
Each engine control value must have a localized display name in EngineControl.properties, and, if it has a description, a localized description string in EngineControl.properties.
The DirXML Engine will initially set the display names and descriptions to their
US English values from the base EngineControl.properties file. User Agents (i.e., the UI) are
responsible for localizing the display names and descriptions by calling
localize(Locale locale)
with the appropriate Locale
instance.
User Agents must not create new GCValue instances. Only the DirXML Engine is allowed to create engine control values. The User Agents are restricted to allowing users to change the GCValue instances' values and writing the serialized XML back to the DirXML-EngineControlValues attribute. (The DirXML Engine will initially populate the attribute with all supported control values).
Field Summary | |
static String |
LOC_REF_DN_VALUE_FORM_DESC
|
static String |
LOC_REF_DN_VALUE_FORM_NAME
|
static String |
LOC_REF_MAX_MIGRATE_COUNT_DESC
|
static String |
LOC_REF_MAX_MIGRATE_COUNT_NAME
|
static String |
LOC_REF_MAX_REPLICATION_WAIT_DESC
|
static String |
LOC_REF_MAX_REPLICATION_WAIT_NAME
|
static String |
LOC_REF_PWD_SYNC_STATUS_DESC
|
static String |
LOC_REF_PWD_SYNC_STATUS_NAME
|
static String |
LOC_REF_RENAME_FORM_DESC
|
static String |
LOC_REF_RENAME_FORM_NAME
|
static String |
LOC_REF_RETRY_INTERVAL_DESC
|
static String |
LOC_REF_RETRY_INTERVAL_NAME
|
static String |
LOC_REF_SET_CREATORS_NAME_DESC
|
static String |
LOC_REF_SET_CREATORS_NAME_NAME
|
static String |
LOC_REF_USE_PASSWORD_EVENT_VALUES_DESC
|
static String |
LOC_REF_USE_PASSWORD_EVENT_VALUES_NAME
|
static String |
LOC_REF_USE_PENDING_ASSOC_DESC
|
static String |
LOC_REF_USE_PENDING_ASSOC_NAME
|
static String |
LOC_REF_XSLT_BROKEN_MODE_DESC
|
static String |
LOC_REF_XSLT_BROKEN_MODE_NAME
|
Fields inherited from class com.novell.nds.dirxml.engine.gcv.GCDefinitions |
defsList |
Constructor Summary | |
EngineControls()
Construct an empty GCEngineDefintions object.
|
Method Summary | |
static EngineControls |
constructFromBytes(byte[] bytes)
Construct a GCEngineDefinitions object and associated GCValue objects
from an array of bytes containing the serialized XML representation.
|
protected static EngineControls |
constructFromBytes(byte[] bytes,
EngineControls controls)
Populate a GCEngineDefinitions object and associated GCValue objects
from an array of bytes containing the serialized XML representation.
|
static EngineControls |
constructFromDocument(Document document)
Construct a GCEngineDefinitions object and association GCValue objects
from a DOM XML document containing the XML representation.
|
static EngineControls |
constructFromDocument(Document document,
EngineControls controls)
Populate a GCEngineDefinitions object and association GCValue objects
from a DOM XML document containing the XML representation.
|
void |
localize(Locale locale)
Localize the display names and descriptions of the engine control values in this instance. |
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, toXML |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String LOC_REF_RETRY_INTERVAL_NAME
public static final String LOC_REF_RETRY_INTERVAL_DESC
public static final String LOC_REF_DN_VALUE_FORM_NAME
public static final String LOC_REF_DN_VALUE_FORM_DESC
public static final String LOC_REF_MAX_REPLICATION_WAIT_NAME
public static final String LOC_REF_MAX_REPLICATION_WAIT_DESC
public static final String LOC_REF_XSLT_BROKEN_MODE_NAME
public static final String LOC_REF_XSLT_BROKEN_MODE_DESC
public static final String LOC_REF_MAX_MIGRATE_COUNT_NAME
public static final String LOC_REF_MAX_MIGRATE_COUNT_DESC
public static final String LOC_REF_SET_CREATORS_NAME_NAME
public static final String LOC_REF_SET_CREATORS_NAME_DESC
public static final String LOC_REF_RENAME_FORM_NAME
public static final String LOC_REF_RENAME_FORM_DESC
public static final String LOC_REF_USE_PENDING_ASSOC_NAME
public static final String LOC_REF_USE_PENDING_ASSOC_DESC
public static final String LOC_REF_USE_PASSWORD_EVENT_VALUES_NAME
public static final String LOC_REF_USE_PASSWORD_EVENT_VALUES_DESC
public static final String LOC_REF_PWD_SYNC_STATUS_NAME
public static final String LOC_REF_PWD_SYNC_STATUS_DESC
Constructor Detail |
public EngineControls()
GCEngineDefintions
object.
Only the DirXML Engine must use this constructor.
Method Detail |
public static EngineControls constructFromBytes(byte[] bytes) throws GCVException
GCEngineDefinitions
object and associated GCValue
objects
from an array of bytes containing the serialized XML representation.
Typically, the array of bytes would come from the value of the DirXML-EngineControlValues attribute.
bytes
- byte array containing serialized XML.
GCVException
- thrown if XML is incorrect in any way.protected static EngineControls constructFromBytes(byte[] bytes, EngineControls controls) throws GCVException
GCEngineDefinitions
object and associated GCValue
objects
from an array of bytes containing the serialized XML representation.
Typically, the array of bytes would come from the value of the DirXML-EngineControlValues attribute.
bytes
- byte array containing serialized XML.controls
- EngineControls to populate.
GCVException
- thrown if XML is incorrect in any way.public static EngineControls constructFromDocument(Document document) throws GCVException
GCEngineDefinitions
object and association GCValue
objects
from a DOM XML document containing the XML representation.
Typically, the DOM document would be the result of parsing the value of the DirXML-EngineControlValues attribute.
document
- DOM document
GCVException
- thrown if XML is incorrect in any way.public static EngineControls constructFromDocument(Document document, EngineControls controls) throws GCVException
GCEngineDefinitions
object and association GCValue
objects
from a DOM XML document containing the XML representation.
Typically, the DOM document would be the result of parsing the value of the DirXML-EngineControlValues attribute.
document
- DOM documentcontrols
- EngineControls to populate.
GCVException
- thrown if XML is incorrect in any way.public void localize(Locale locale)
locale
- a Locale object describing the locale for the
localized strings to retrieve.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |