|
Spring LDAP | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<LineIdentifier> org.springframework.ldap.ldif.support.LineIdentifier
public enum LineIdentifier
Enumeration declaring possible event types when parsing LDIF files.
Enum Constant Summary | |
---|---|
Attribute
Signifies the event when a new attribute is encountered. |
|
ChangeType
Record being parsed is a 'changetype' record. |
|
Comment
The current line is a comment and should be ignored. |
|
Continuation
Indicates the current line parsed is a continuation of the previous line. |
|
Control
An LDAP changetype control was encountered. |
|
EndOfRecord
Signals the end of record has been reached. |
|
NewRecord
Signifies the start of a new record in the file has been encountered: a DN declaration. |
|
VersionIdentifier
Every LDIF file may optionally start with a version identifier of the form 'version: 1'. |
|
Void
Parsed line should be ignored - used to skip remaining lines in a 'changetype' record. |
Method Summary | |
---|---|
static LineIdentifier |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static LineIdentifier[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final LineIdentifier VersionIdentifier
public static final LineIdentifier NewRecord
public static final LineIdentifier EndOfRecord
public static final LineIdentifier Attribute
public static final LineIdentifier Continuation
public static final LineIdentifier Comment
public static final LineIdentifier Control
public static final LineIdentifier ChangeType
public static final LineIdentifier Void
Method Detail |
---|
public static LineIdentifier[] values()
for (LineIdentifier c : LineIdentifier.values()) System.out.println(c);
public static LineIdentifier valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
Spring LDAP | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |