public abstract class WrappedTextNodeOMDataSource extends AbstractPullOMDataSource implements QNameAwareOMDataSource
OMDataSource implementation that represents a text node wrapped inside an element.| Modifier and Type | Field and Description |
|---|---|
protected QName |
wrapperElementName |
LOSSY_PREFIX| Constructor and Description |
|---|
WrappedTextNodeOMDataSource(QName wrapperElementName) |
| Modifier and Type | Method and Description |
|---|---|
String |
getLocalName()
Get the local name of the element represented by this data source.
|
String |
getNamespaceURI()
Get the namespace URI of the element represented by this data source.
|
String |
getPrefix()
Get the namespace prefix of the element represented by this data source.
|
isDestructiveWrite, serializeclose, copy, getObject, getProperty, getXMLBytes, getXMLInputStream, hasProperty, serialize, serialize, setPropertyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetReader, serialize, serialize, serializeisDestructiveReadprotected final QName wrapperElementName
public WrappedTextNodeOMDataSource(QName wrapperElementName)
public String getLocalName()
QNameAwareOMDataSourcegetLocalName in interface QNameAwareOMDataSourcenull if the local name is not knownpublic String getNamespaceURI()
QNameAwareOMDataSourcegetNamespaceURI in interface QNameAwareOMDataSourcenull if the namespace URI is not knownpublic String getPrefix()
QNameAwareOMDataSourcegetPrefix in interface QNameAwareOMDataSourcenull if the prefix is not known; the implementation is expected to
return an empty string if QNameAwareOMDataSource.getNamespaceURI() returns an empty string (because
an element without namespace must not have a prefix)Copyright © The Apache Software Foundation. All Rights Reserved.