Enum SchemaObjectRenderer.Style
- java.lang.Object
-
- java.lang.Enum<SchemaObjectRenderer.Style>
-
- org.apache.directory.api.ldap.model.schema.SchemaObjectRenderer.Style
-
- All Implemented Interfaces:
Serializable,Comparable<SchemaObjectRenderer.Style>
- Enclosing class:
- SchemaObjectRenderer
private static enum SchemaObjectRenderer.Style extends Enum<SchemaObjectRenderer.Style>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description OPENLDAP_SCHEMA_PRETTY_PRINTEDSUBSCHEMA_SUBENTRY_WITH_SCHEMA_NAME
-
Field Summary
Fields Modifier and Type Field Description (package private) booleanprettyPrint(package private) booleanprintSchemaName(package private) booleanstartWithSchemaType
-
Constructor Summary
Constructors Modifier Constructor Description privateStyle(boolean startWithSchemaType, boolean prettyPrint, boolean printSchemaName)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SchemaObjectRenderer.StylevalueOf(String name)Returns the enum constant of this type with the specified name.static SchemaObjectRenderer.Style[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUBSCHEMA_SUBENTRY_WITH_SCHEMA_NAME
public static final SchemaObjectRenderer.Style SUBSCHEMA_SUBENTRY_WITH_SCHEMA_NAME
-
OPENLDAP_SCHEMA_PRETTY_PRINTED
public static final SchemaObjectRenderer.Style OPENLDAP_SCHEMA_PRETTY_PRINTED
-
-
Method Detail
-
values
public static SchemaObjectRenderer.Style[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SchemaObjectRenderer.Style c : SchemaObjectRenderer.Style.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SchemaObjectRenderer.Style valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-