|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<OWL2Datatype.WhiteSpaceNormalisation> org.semanticweb.owlapi.vocab.OWL2Datatype.WhiteSpaceNormalisation
public static enum OWL2Datatype.WhiteSpaceNormalisation
Enum Constant Summary | |
---|---|
COLLAPSE
After the processing implied by replace, contiguous sequences of #x20's are collapsed to a single #x20, and any #x20 at the start or end of the string is then removed. |
|
PRESERVE
No normalization is done, the value is not changed (this is the behavior required by [XML] for element content) |
|
REPLACE
All occurrences of #x9 (tab), #xA (line feed) and #xD (carriage return) are replaced with #x20 (space) |
Method Summary | |
---|---|
java.lang.String |
getNormalisedString(java.lang.String s)
Gets the normalised version of a string |
static OWL2Datatype.WhiteSpaceNormalisation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static OWL2Datatype.WhiteSpaceNormalisation[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final OWL2Datatype.WhiteSpaceNormalisation PRESERVE
public static final OWL2Datatype.WhiteSpaceNormalisation REPLACE
public static final OWL2Datatype.WhiteSpaceNormalisation COLLAPSE
Method Detail |
---|
public static final OWL2Datatype.WhiteSpaceNormalisation[] values()
for(OWL2Datatype.WhiteSpaceNormalisation c : OWL2Datatype.WhiteSpaceNormalisation.values()) System.out.println(c);
public static OWL2Datatype.WhiteSpaceNormalisation 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 namepublic java.lang.String getNormalisedString(java.lang.String s)
s
- The string to normalise
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |