XFA4J

com.adobe.xfa
Class TextNode

java.lang.Object
  extended by com.adobe.xfa.Obj
      extended by com.adobe.xfa.Node
          extended by com.adobe.xfa.Chars
              extended by com.adobe.xfa.TextNode
Direct Known Subclasses:
CDataNode

public class TextNode
extends Chars

A class to represent the textual content of an XFA element in the DOM.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.adobe.xfa.Node
Node.ChangeLogger
 
Field Summary
 
Fields inherited from class com.adobe.xfa.Node
CREATE_ALWAYS_NEW, CREATE_IF_NOT_EXIST, CREATE_MUST_NOT_EXIST, CREATE_REPLACE
 
Constructor Summary
TextNode(Element parent, Node prevSibling, java.lang.String text)
          Instantiates a text node with the given text.
 
Method Summary
 java.lang.String getValue()
          Gets this node's text value.
 void setValue(java.lang.String value, boolean bNotify, boolean bDefault)
          Gets this node's text value.
 
Methods inherited from class com.adobe.xfa.Chars
getData, getName, getText, isXMLSpace, setText
 
Methods inherited from class com.adobe.xfa.Node
assignNode, checkAncestorPerms, checkDescendentPerms, checkPerms, cleanDirtyFlags, compareVersions, getDynamicScriptProp, getFirstXFAChild, getFirstXMLChild, getLastXMLChild, getModel, getNextXFASibling, getNextXMLSibling, getOwnerDocument, getPreviousXMLSibling, getSOMExpression, getXFAChildCount, getXFAParent, getXMLChildCount, getXMLParent, hasChanged, remove, resolveNode, resolveNode, resolveNodes, setNextXMLSibling, setPermsLock, setXMLParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextNode

public TextNode(Element parent,
                Node prevSibling,
                java.lang.String text)
Instantiates a text node with the given text.

Parameters:
parent - the node's parent, if any.
prevSibling - the node's previous sibling, if any.
text - the node's text.
Method Detail

getValue

public java.lang.String getValue()
Gets this node's text value.

Returns:
the text value.

setValue

public void setValue(java.lang.String value,
                     boolean bNotify,
                     boolean bDefault)
Gets this node's text value.

Parameters:
value - the text value.

XFA4J

© 2005 Adobe Systems Incorporated. All Rights Reserved.