|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.netscape.certsrv.property.Descriptor
public class Descriptor
This interface represents a property descriptor. A descriptor includes information that describe a property.
Field Summary | |
---|---|
protected java.lang.String |
mConstraint
|
protected java.lang.String |
mDef
|
protected java.lang.String |
mDescription
|
protected java.lang.String |
mSyntax
|
Fields inherited from interface com.netscape.certsrv.property.IDescriptor |
---|
BOOLEAN, CERT_REQUEST, CERT_REQUEST_TYPE, CHOICE, DATE, DN, DUAL_KEYGEN_REQUEST, DUAL_KEYGEN_REQUEST_TYPE, EMAIL, HIDDEN, IMAGE_URL, INTEGER, IP, KEYGEN_REQUEST, KEYGEN_REQUEST_TYPE, PASSWORD, PRETTY_PRINT, READONLY, STRING, STRING_LIST |
Constructor Summary | |
---|---|
Descriptor(java.lang.String syntax,
java.lang.String constraint,
java.lang.String defValue,
java.lang.String description)
Constructs a descriptor. |
Method Summary | |
---|---|
java.lang.String |
getConstraint()
Constraint for the given syntax. |
java.lang.String |
getDefaultValue()
Returns the default value of the property. |
java.lang.String |
getDescription(java.util.Locale locale)
Retrieves the description of the property. |
java.lang.String |
getSyntax()
Returns the syntax of the property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String mSyntax
protected java.lang.String mConstraint
protected java.lang.String mDescription
protected java.lang.String mDef
Constructor Detail |
---|
public Descriptor(java.lang.String syntax, java.lang.String constraint, java.lang.String defValue, java.lang.String description)
syntax
- syntaxconstraint
- constraintdefValue
- default valuedescription
- descriptionMethod Detail |
---|
public java.lang.String getSyntax()
getSyntax
in interface IDescriptor
public java.lang.String getDefaultValue()
getDefaultValue
in interface IDescriptor
public java.lang.String getConstraint()
- number(1-5): 1-5 is the constraint, and it indicates that the number must be in the range of 1 to 5.
- choice(cert,crl): cert,crl is the constraint for choice
If null, no constraint shall be enforced.
getConstraint
in interface IDescriptor
public java.lang.String getDescription(java.util.Locale locale)
getDescription
in interface IDescriptor
locale
- user locale
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |