net.sf.joost.instruction
Class TextNode
java.lang.Object
net.sf.joost.instruction.AbstractInstruction
net.sf.joost.instruction.NodeBase
net.sf.joost.instruction.TextNode
- All Implemented Interfaces:
- Constants
- public class TextNode
- extends NodeBase
Instances created by this factory represent text nodes in the
transformation sheet
- Version:
- $Revision: 2.2 $ $Date: 2004/10/30 11:23:52 $
- Author:
- Oliver Becker
Fields inherited from interface net.sf.joost.Constants |
DEBUG, DEFAULT_ENCODING, FEAT_NS, FEAT_NSPREFIX, FEATURE_URI_PREFIX, FUNC_NS, JOOST_EXT_NS, PR_ATTRIBUTES, PR_BUFFER, PR_CHILDREN, PR_CONTINUE, PR_ERROR, PR_SELF, PR_SIBLINGS, STX_NS |
string
private String string
TextNode
public TextNode(String s,
NodeBase parent,
ParseContext context)
process
public short process(Context context)
throws SAXException
- Emit the text of this node to the result stream
- Overrides:
process
in class NodeBase
- Returns:
Constants.PR_CONTINUE
- Throws:
SAXException
- if an error occurs (in a derived class)
isWhitespaceNode
public boolean isWhitespaceNode()
- Returns:
true
if this text node contains only
white space characters, otherwise false