|
Oracle Virtual Directory Java API Reference 11g Release 1 (11.1.1) E10688-03 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
com.octetstring.vde.syntax.Syntax
public abstract class Syntax
Values persisted in the directory have an associated syntax. Classes implementing this interface can be used as values for appropriate attributes.
| Constructor Summary | |
|---|---|
Syntax() |
|
| Method Summary | |
|---|---|
abstract int |
compareTo(Syntax val)Compares the value in this syntax with the value in another syntax object. |
abstract boolean |
endsWith(Syntax val)Checks to see if the passed value is at the end of this value. |
abstract byte[] |
getValue()Get a byte array representation of this value. |
abstract int |
indexOf(Syntax val)Find the first occurance of the passed syntax within this syntax. |
abstract java.lang.String |
normalize()Perform necessary steps to create an indexable String representation of this value. |
abstract Syntax |
reverse()Returns the reverse of this string. |
abstract void |
setValue(byte[] value)Set this value to the passed byte array according to appropriate rules. |
abstract void |
setValue(byte[] value, int hashCode)Set this value to the passed bye array according to appropriate rules. |
abstract boolean |
startsWith(Syntax val)Determines if the specified value is at the beginning of this value. |
abstract void |
validate()Determines if this value is in accordance to the syntax rules (if any) |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Syntax()
| Method Detail |
|---|
public abstract int compareTo(Syntax val)
val - a Syntax valueint valuepublic abstract boolean endsWith(Syntax val)
val - a Syntax valueboolean valuepublic abstract byte[] getValue()
byte[] valuepublic abstract int indexOf(Syntax val)
val - a Syntax valueint valuepublic abstract java.lang.String normalize()
String valuepublic abstract Syntax reverse()
Syntax valuepublic abstract void setValue(byte[] value)
value - a byte[] value
public abstract void setValue(byte[] value,
int hashCode)
value - a byte[] valuehashCode - an int valuepublic abstract boolean startsWith(Syntax val)
val - a Syntax valueboolean value
public abstract void validate()
throws com.octetstring.vde.syntax.InvalidSyntaxException
com.octetstring.vde.syntax.InvalidSyntaxException
|
Oracle Virtual Directory Java API Reference 11g Release 1 (11.1.1) E10688-03 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||