Package org.docx4j.dml.diagram
Enum STAxisType
java.lang.Object
java.lang.Enum<STAxisType>
org.docx4j.dml.diagram.STAxisType
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<STAxisType>,java.lang.constant.Constable
public enum STAxisType extends java.lang.Enum<STAxisType>
Java class for ST_AxisType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ST_AxisType">
<restriction base="{http://www.w3.org/2001/XMLSchema}token">
<enumeration value="self"/>
<enumeration value="ch"/>
<enumeration value="des"/>
<enumeration value="desOrSelf"/>
<enumeration value="par"/>
<enumeration value="ancst"/>
<enumeration value="ancstOrSelf"/>
<enumeration value="followSib"/>
<enumeration value="precedSib"/>
<enumeration value="follow"/>
<enumeration value="preced"/>
<enumeration value="root"/>
<enumeration value="none"/>
</restriction>
</simpleType>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>> -
Enum Constant Summary
Enum Constants Enum Constant Description ANCSTAncestorANCST_OR_SELFAncestor or SelfCHChildDESDescendantDES_OR_SELFDescendant or SelfFOLLOWFollowFOLLOW_SIBFollow SiblingNONENonePARParentPRECEDPrecedingPRECED_SIBPreceding SiblingROOTRootSELFSelf -
Method Summary
Modifier and Type Method Description static STAxisTypefromValue(java.lang.String v)java.lang.Stringvalue()static STAxisTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static STAxisType[]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, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
-
Enum Constant Details
-
SELF
Self -
CH
Child -
DES
Descendant -
DES_OR_SELF
Descendant or Self -
PAR
Parent -
ANCST
Ancestor -
ANCST_OR_SELF
Ancestor or Self -
FOLLOW_SIB
Follow Sibling -
PRECED_SIB
Preceding Sibling -
FOLLOW
Follow -
PRECED
Preceding -
ROOT
Root -
NONE
None
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
value
public java.lang.String value() -
fromValue
-