Class TextDirection

java.lang.Object
org.docx4j.wml.TextDirection
All Implemented Interfaces:
Child

public class TextDirection extends Object implements Child

Java class for CT_TextDirection complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="CT_TextDirection">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="val" use="required">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
             <enumeration value="lrTb"/>
             <enumeration value="tbRl"/>
             <enumeration value="btLr"/>
             <enumeration value="lrTbV"/>
             <enumeration value="tbRlV"/>
             <enumeration value="tbLrV"/>
           </restriction>
         </simpleType>
       </attribute>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • TextDirection

      public TextDirection()
  • Method Details

    • getVal

      public String getVal()
      Gets the value of the val property.
      Returns:
      possible object is String
    • setVal

      public void setVal(String value)
      Sets the value of the val property.
      Parameters:
      value - allowed object is String
    • getParent

      public Object getParent()
      Gets the parent object in the object tree representing the unmarshalled xml document.
      Specified by:
      getParent in interface Child
      Returns:
      The parent object.
    • setParent

      public void setParent(Object parent)
      Specified by:
      setParent in interface Child
    • afterUnmarshal

      public void afterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, Object parent)
      This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
      Parameters:
      parent - The parent object in the object tree.
      unmarshaller - The unmarshaller that generated the instance.