|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ldaptive.schema.AbstractSchemaElement
org.ldaptive.schema.Syntax
public class Syntax
Bean for an attribute syntax schema element.
SyntaxDescription = LPAREN WSP
numericoid ; object identifier
[ SP "DESC" SP qdstring ] ; description
extensions WSP RPAREN ; extensions
| Field Summary |
|---|
| Fields inherited from class org.ldaptive.schema.AbstractSchemaElement |
|---|
NO_WSP_REGEX, WSP_REGEX |
| Constructor Summary | |
|---|---|
Syntax(String s)
Creates a new attribute syntax. |
|
Syntax(String oid,
String description,
Extensions extensions)
Creates a new attribute syntax. |
|
| Method Summary | |
|---|---|
String |
format()
Returns this schema element as formatted string per RFC 4512. |
String |
getOID()
Returns the oid. |
int |
hashCode()
|
static Syntax |
parse(String definition)
Parses the supplied definition string and creates an initialized attribute syntax. |
String |
toString()
|
| Methods inherited from class org.ldaptive.schema.AbstractSchemaElement |
|---|
containsBooleanExtension, equals, getDescription, getExtensions, setDescription, setExtensions |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Syntax(String s)
s - oid
public Syntax(String oid,
String description,
Extensions extensions)
oid - oiddescription - descriptionextensions - extensions| Method Detail |
|---|
public String getOID()
public static Syntax parse(String definition)
throws ParseException
definition - to parse
ParseException - if the supplied definition is invalidpublic String format()
public int hashCode()
hashCode in class AbstractSchemaElementpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||