|
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
com.octetstring.vde.syntax.TelephoneNumberSyntax
public class TelephoneNumberSyntax
Class representing an Telephone number attribute value
| Constructor Summary | |
|---|---|
TelephoneNumberSyntax() |
|
TelephoneNumberSyntax(byte[] value) |
|
TelephoneNumberSyntax(byte[] value, int hashCode) |
|
TelephoneNumberSyntax(java.lang.String value) |
|
| Method Summary | |
|---|---|
int |
compareTo(Syntax value)Compares the value in this syntax with the value in another syntax object. |
int |
compareTo(TelephoneNumberSyntax value) |
boolean |
endsWith(Syntax val)Checks to see if the passed value is at the end of this value. |
boolean |
equals(java.lang.Object obj) |
boolean |
equals(TelephoneNumberSyntax is) |
java.lang.String |
getNormalizedString() |
byte[] |
getValue()Get a byte array representation of this value. |
int |
indexOf(Syntax val)Find the first occurance of the passed syntax within this syntax. |
java.lang.String |
normalize()Perform necessary steps to create an indexable String representation of this value. |
Syntax |
reverse()Returns the reverse of this string. |
void |
setValue(byte[] value)Set this value to the passed byte array according to appropriate rules. |
void |
setValue(byte[] value, int hashCode)Set this value to the passed bye array according to appropriate rules. |
boolean |
startsWith(Syntax val)Determines if the specified value is at the beginning of this value. |
java.lang.String |
toString() |
void |
validate()Determines if this value is in accordance to the syntax rules (if any) |
| Methods inherited from class java.lang.Object |
|---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TelephoneNumberSyntax()
public TelephoneNumberSyntax(java.lang.String value)
public TelephoneNumberSyntax(byte[] value)
public TelephoneNumberSyntax(byte[] value,
int hashCode)
| Method Detail |
|---|
public int compareTo(TelephoneNumberSyntax value)
compareTo in interface java.lang.Comparable<TelephoneNumberSyntax>public int compareTo(Syntax value)
SyntaxcompareTo in class Syntaxvalue - a Syntax valueint valuepublic boolean equals(TelephoneNumberSyntax is)
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic boolean endsWith(Syntax val)
SyntaxendsWith in class Syntaxval - a Syntax valueboolean valuepublic byte[] getValue()
SyntaxgetValue in class Syntaxbyte[] valuepublic int indexOf(Syntax val)
SyntaxindexOf in class Syntaxval - a Syntax valueint valuepublic java.lang.String normalize()
Syntaxnormalize in class SyntaxString value
public void validate()
throws com.octetstring.vde.syntax.InvalidSyntaxException
Syntaxvalidate in class Syntaxcom.octetstring.vde.syntax.InvalidSyntaxExceptionpublic Syntax reverse()
Syntaxreverse in class SyntaxSyntax valuepublic void setValue(byte[] value)
SyntaxsetValue in class Syntaxvalue - a byte[] value
public void setValue(byte[] value,
int hashCode)
SyntaxsetValue in class Syntaxvalue - a byte[] valuehashCode - an int valuepublic boolean startsWith(Syntax val)
SyntaxstartsWith in class Syntaxval - a Syntax valueboolean valuepublic java.lang.String getNormalizedString()
public java.lang.String toString()
toString in class java.lang.Object
|
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 | |||||||||