|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weblogic.apache.xml.utils.UnImplNode | +--weblogic.apache.xalan.stree.Child | +--weblogic.apache.xalan.stree.TextImpl
Class to hold information about a Text node.
This class is based on an implementation from the Apache XML Project. In future releases the XML parser, XSLT processor, and associated classes will likely be updated to be based on a later version of the Apache implementations. Since Apache does not guarantee backwards compatibility between versions of their software, we cannot guarantee backwards compatibility of any of the classes contained in the weblogic.apache package or sub-packages.
Field Summary | |
protected java.lang.String |
m_data
Text from this Text node |
protected int |
m_length
The length of text in the text buffer. |
protected int |
m_start
Start of text from this Text node |
Fields inherited from class weblogic.apache.xalan.stree.Child |
m_doc,
m_parent |
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(org.xml.sax.ContentHandler ch)
Send content of this text node as a SAX 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. |
boolean |
isWhitespace()
|
Methods inherited from class weblogic.apache.xalan.stree.Child |
getAttributes,
getFirstChild,
getLastChild,
getLevel,
getNamespaceURI,
getNextSibling,
getOwnerDocument,
getParentNode,
getPrefix,
getPreviousSibling,
getTagName,
getTransformer,
getUid,
hasChildNodes,
isComplete,
isNamespaceNode,
isSupported,
setAttribute,
setComplete,
setDoc,
setLevel,
setParent,
setUid,
throwIfParseError,
throwParseError |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
protected java.lang.String m_data
protected int m_start
protected int m_length
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(org.xml.sax.ContentHandler ch) throws org.xml.sax.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()
public boolean isWhitespace()
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs61 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |