|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.xml.utils.UnImplNode | +--org.apache.xalan.stree.Child | +--org.apache.xalan.stree.TextImpl
**For internal use only** Class to hold information about a Text node.
Constructor Summary | |
TextImpl(DocumentImpl doc,
char[] ch,
int start,
int length)
Constructor TextImpl |
|
TextImpl(DocumentImpl doc,
java.lang.String data)
Constructor TextImpl |
Method Summary | |
void |
dispatchCharactersEvent(ContentHandler ch)
Handle a Characters event |
java.lang.String |
getData()
Retrieve character data currently stored in this node. |
int |
getLength()
Report number of characters currently stored in this node's data. |
int |
getLengthInBuffer()
Get the length of text in the text buffer. |
java.lang.String |
getLocalName()
Returns the local part of the qualified name of this node. |
java.lang.String |
getNodeName()
Returns the node name. |
short |
getNodeType()
A short integer indicating what type of node this is. |
java.lang.String |
getNodeValue()
Return the text that constitutes this node's data. |
int |
getStartOffsetInBuffer()
Get the start of text in the text buffer. |
Methods inherited from class org.apache.xalan.stree.Child |
getAttributes,
getFirstChild,
getLastChild,
getLevel,
getNamespaceURI,
getNextSibling,
getOwnerDocument,
getParentNode,
getPrefix,
getPreviousSibling,
getTagName,
getUid,
hasChildNodes,
isComplete,
isNamespaceNode,
isSupported,
setAttribute,
setComplete,
setLevel |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public TextImpl(DocumentImpl doc, java.lang.String data)
doc
- Document objectdata
- Text from nodepublic TextImpl(DocumentImpl doc, char[] ch, int start, int length)
doc
- Document objectch
- Array containing text from nodestart
- Start location of text in arraylength
- Length of text in arrayMethod Detail |
public int getStartOffsetInBuffer()
public int getLengthInBuffer()
public void dispatchCharactersEvent(ContentHandler ch) throws SAXException
ch
- Content handler to handle SAX eventspublic short getNodeType()
public java.lang.String getNodeName()
public java.lang.String getLocalName()
createElement
from the Document
interface,
it is null
.public java.lang.String getData()
public int getLength()
public java.lang.String getNodeValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |