|
All LDAP Classes Internal LDAP Classes |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.novell.sasl.client.DirectiveList
Implements the DirectiveList class whihc will be used by the DigestMD5SaslClient class
Field Summary | |
private java.lang.String |
m_curName
|
private int |
m_curPos
|
private java.util.ArrayList |
m_directiveList
|
private java.lang.String |
m_directives
|
private int |
m_errorPos
|
private int |
m_scanStart
|
private int |
m_state
|
private static int |
STATE_LOOKING_FOR_COMMA
|
private static int |
STATE_LOOKING_FOR_DIRECTIVE
|
private static int |
STATE_LOOKING_FOR_EQUALS
|
private static int |
STATE_LOOKING_FOR_FIRST_DIRECTIVE
|
private static int |
STATE_LOOKING_FOR_VALUE
|
private static int |
STATE_NO_UTF8_SUPPORT
|
private static int |
STATE_SCANNING_NAME
|
private static int |
STATE_SCANNING_QUOTED_STRING_VALUE
|
private static int |
STATE_SCANNING_TOKEN_VALUE
|
Constructor Summary | |
(package private) |
DirectiveList(byte[] directives)
Constructs a new DirectiveList. |
Method Summary | |
(package private) void |
addDirective(java.lang.String name,
boolean haveQuotedPair)
This function creates a directive record and adds it to the list, the value will be added later after it is parsed. |
(package private) java.util.Iterator |
getIterator()
Returns the List iterator. |
(package private) boolean |
isValidTokenChar(char c)
This function returns TRUE if the character is a valid token character. |
(package private) boolean |
isWhiteSpace(char c)
This function returns TRUE if the character is linear white space (LWS). |
(package private) void |
parseDirectives()
This function takes a US-ASCII character string containing a list of comma separated directives, and parses the string into the individual directives and their values. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final int STATE_LOOKING_FOR_FIRST_DIRECTIVE
private static final int STATE_LOOKING_FOR_DIRECTIVE
private static final int STATE_SCANNING_NAME
private static final int STATE_LOOKING_FOR_EQUALS
private static final int STATE_LOOKING_FOR_VALUE
private static final int STATE_LOOKING_FOR_COMMA
private static final int STATE_SCANNING_QUOTED_STRING_VALUE
private static final int STATE_SCANNING_TOKEN_VALUE
private static final int STATE_NO_UTF8_SUPPORT
private int m_curPos
private int m_errorPos
private java.lang.String m_directives
private int m_state
private java.util.ArrayList m_directiveList
private java.lang.String m_curName
private int m_scanStart
Constructor Detail |
DirectiveList(byte[] directives)
Method Detail |
void parseDirectives() throws SaslException
SaslException
- If an error Occursboolean isValidTokenChar(char c)
c
- character to be tested
boolean isWhiteSpace(char c)
c
- Input charcter to be tested
void addDirective(java.lang.String name, boolean haveQuotedPair)
name
- NamehaveQuotedPair
- true if quoted pair is there else falsejava.util.Iterator getIterator()
|
All LDAP Classes Internal LDAP Classes |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |