|
||||||||||
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.lib.sql.StreamableNode
The StreamableNode really just provides a base implemtation for the other SQL Node based classes. It support keeping track of the Document Order Index where it is just incermented to assure that the node are considered seperate and assign a distance in the Document. It also provides a common reference to the Document Root or the XStatement object.
Constructor Summary | |
StreamableNode(XStatement statement)
Constructor StreamableNode |
Method Summary | |
NamedNodeMap |
getAttributes()
Get list of attributes |
int |
getLength()
The number of attributes for this node - Not implemented |
java.lang.String |
getLocalName()
Return NodeName. |
Node |
getNamedItem(java.lang.String name)
Get the attribute with the given name - Not implemented |
Node |
getNamedItemNS(java.lang.String namespaceURI,
java.lang.String localName)
Get the attribute with the given namespaced name - Not implemented |
java.lang.String |
getNamespaceURI()
getNamespaceURI - Always Returns null. |
NodeTest |
getNodeTest()
Return the current NodeTest instance |
short |
getNodeType()
Streamable nodes default to being elements. |
Document |
getOwnerDocument()
Get Owner Document |
java.lang.String |
getPrefix()
getPrefix - Always Returns null. |
int |
getUid()
Get the UID (document order index). |
XStatement |
getXStatement()
Get XStatement (owning document) |
void |
incermentOrderIndex()
|
boolean |
isSupported(java.lang.String feature,
java.lang.String version)
Check if a given feature is supported |
Node |
item(int index)
Return the attribute at the given index - Not implemented |
Node |
removeNamedItem(java.lang.String name)
Remove the attribute with the given name - Not supported |
Node |
removeNamedItemNS(java.lang.String namespaceURI,
java.lang.String localName)
Remove the attribute with the given namespaced name - Not supported |
Node |
setNamedItem(Node arg)
Set the given attribute - Not supported |
Node |
setNamedItemNS(Node arg)
Set the attribute with the given namespaced name - Not supported |
void |
setNodeTest(NodeTest nodeTest)
Set NodeTest instance |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public StreamableNode(XStatement statement)
statement
- Owning documentMethod Detail |
public XStatement getXStatement()
public boolean isSupported(java.lang.String feature, java.lang.String version)
feature
- Feature to checkversion
- Version to checkpublic NodeTest getNodeTest()
public void setNodeTest(NodeTest nodeTest)
nodeTest
- The NodeTest to usepublic Document getOwnerDocument()
public short getNodeType()
public java.lang.String getLocalName()
public java.lang.String getNamespaceURI()
public java.lang.String getPrefix()
public NamedNodeMap getAttributes()
public Node getNamedItem(java.lang.String name)
name
- attribute name to getpublic Node item(int index)
index
- Index of attribute to getpublic int getLength()
public Node getNamedItemNS(java.lang.String namespaceURI, java.lang.String localName)
namespaceURI
- Namespace URI of the attribute to getlocalName
- Local name of the attribute to getpublic Node setNamedItem(Node arg) throws DOMException
arg
- attribute nodepublic Node removeNamedItem(java.lang.String name) throws DOMException
name
- Attribute namepublic Node setNamedItemNS(Node arg) throws DOMException
arg
- Attriute nodepublic Node removeNamedItemNS(java.lang.String namespaceURI, java.lang.String localName) throws DOMException
namespaceURI
- Namespace URI of the attribute to removelocalName
- Local name of the attribute to removepublic int getUid()
public void incermentOrderIndex()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |