public enum NdfStructureType extends java.lang.Enum<NdfStructureType> implements NdfConstants
Type | Property and Description |
---|---|
boolean |
is |
boolean |
isStructured |
Enum Constant and Description |
---|
ARRAY |
COMMENT_BLOCK |
DOCUMENT |
LIST |
OBJECT |
PROPERTY |
STRUCTURED_PROPERTY |
TABLE |
TEXT |
allowedInNames, blockCommentChar, booleanFalseChar, booleanFalseLiteral, booleanTrueChar, booleanTrueLiteral, currentNdfDocVersion, defaultTextEndChar, defaultTextParagraphChar, lineCommentChar, ndfDocAuthorKey, ndfDocCreatedKey, ndfDocEncodingKey, ndfDocTypeKey, ndfDocVersionKey, nullLiteral, quotingBreakCodes, standardBreakCodes, structureChar, textValueBreakCodes, validTextBreakSymbols
Modifier and Type | Method and Description |
---|---|
static NdfStructureType |
fromString(java.lang.String structureKey) |
java.lang.String |
getStructureKey() |
boolean |
isArray() |
static boolean |
isArrayKey(java.lang.String key) |
boolean |
isCommentBlock() |
boolean |
isDocument() |
static boolean |
isListKey(java.lang.String key) |
boolean |
isMainStructure() |
boolean |
isObject() |
static boolean |
isObjectKey(java.lang.String key) |
boolean |
isProperty() |
boolean |
isStructuredProperty() |
static boolean |
isStructureKey(java.lang.String key)
Tells whether the given key starts with the structure-key symbol.
|
boolean |
isTable() |
static boolean |
isTableKey(java.lang.String key) |
boolean |
isText() |
static boolean |
isTextKey(java.lang.String key) |
static NdfStructureType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NdfStructureType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NdfStructureType OBJECT
public static final NdfStructureType LIST
public static final NdfStructureType TABLE
public static final NdfStructureType ARRAY
public static final NdfStructureType TEXT
public static final NdfStructureType DOCUMENT
public static final NdfStructureType PROPERTY
public static final NdfStructureType STRUCTURED_PROPERTY
public static final NdfStructureType COMMENT_BLOCK
public static NdfStructureType[] values()
for (NdfStructureType c : NdfStructureType.values()) System.out.println(c);
public static NdfStructureType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic boolean isDocument()
public boolean isObject()
public boolean isTable()
public boolean isArray()
public boolean isText()
public boolean isProperty()
public boolean isStructuredProperty()
public boolean isCommentBlock()
public boolean isMainStructure()
public java.lang.String getStructureKey()
public static boolean isStructureKey(java.lang.String key)
public static boolean isObjectKey(java.lang.String key)
public static boolean isTableKey(java.lang.String key)
public static boolean isArrayKey(java.lang.String key)
public static boolean isListKey(java.lang.String key)
public static boolean isTextKey(java.lang.String key)
public static NdfStructureType fromString(java.lang.String structureKey)
Copyright © 2014 EsprIT-Systems. All Rights Reserved.