Package org.docx4j.wml
Class Text
java.lang.Object
org.docx4j.wml.Text
- All Implemented Interfaces:
Child
public class Text extends java.lang.Object implements Child
Java class for CT_Text complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_Text">
<simpleContent>
<extension base="<http://schemas.openxmlformats.org/wordprocessingml/2006/main>ST_String">
<attribute ref="{http://www.w3.org/XML/1998/namespace}space"/>
</extension>
</simpleContent>
</complexType>
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Text() -
Method Summary
Modifier and Type Method Description voidafterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)This method is invoked by the JAXB implementation on each instance when unmarshalling completes.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.java.lang.StringgetSpace()Content Contains Significant Whitespacejava.lang.StringgetValue()StringvoidsetParent(java.lang.Object parent)voidsetSpace(java.lang.String value)Sets the value of the space property.voidsetValue(java.lang.String value)Sets the value of the value property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
value
protected java.lang.String value -
space
protected java.lang.String space
-
-
Constructor Details
-
Text
public Text()
-
-
Method Details
-
getValue
public java.lang.String getValue()String- Returns:
- possible object is
String
-
setValue
public void setValue(java.lang.String value)Sets the value of the value property.- Parameters:
value- allowed object isString
-
getSpace
public java.lang.String getSpace()Content Contains Significant Whitespace- Returns:
- possible object is
String
-
setSpace
public void setSpace(java.lang.String value)Sets the value of the space property.- Parameters:
value- allowed object isString
-
getParent
public java.lang.Object getParent()Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
public void setParent(java.lang.Object parent) -
afterUnmarshal
public void afterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, java.lang.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.
-