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
    ANCST
    Ancestor
    ANCST_OR_SELF
    Ancestor or Self
    CH
    Child
    DES
    Descendant
    DES_OR_SELF
    Descendant or Self
    FOLLOW
    Follow
    FOLLOW_SIB
    Follow Sibling
    NONE
    None
    PAR
    Parent
    PRECED
    Preceding
    PRECED_SIB
    Preceding Sibling
    ROOT
    Root
    SELF
    Self
  • Method Summary

    Modifier and Type Method Description
    static STAxisType fromValue​(java.lang.String v)  
    java.lang.String value()  
    static STAxisType valueOf​(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, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • SELF

      public static final STAxisType SELF
      Self
    • CH

      public static final STAxisType CH
      Child
    • DES

      public static final STAxisType DES
      Descendant
    • DES_OR_SELF

      public static final STAxisType DES_OR_SELF
      Descendant or Self
    • PAR

      public static final STAxisType PAR
      Parent
    • ANCST

      public static final STAxisType ANCST
      Ancestor
    • ANCST_OR_SELF

      public static final STAxisType ANCST_OR_SELF
      Ancestor or Self
    • FOLLOW_SIB

      public static final STAxisType FOLLOW_SIB
      Follow Sibling
    • PRECED_SIB

      public static final STAxisType PRECED_SIB
      Preceding Sibling
    • FOLLOW

      public static final STAxisType FOLLOW
      Follow
    • PRECED

      public static final STAxisType PRECED
      Preceding
    • ROOT

      public static final STAxisType ROOT
      Root
    • NONE

      public static final STAxisType NONE
      None
  • Method Details

    • values

      public static STAxisType[] 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

      public static STAxisType valueOf​(java.lang.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:
      java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
      java.lang.NullPointerException - if the argument is null
    • value

      public java.lang.String value()
    • fromValue

      public static STAxisType fromValue​(java.lang.String v)