|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.jclark.xsl.dom.NodeBase
com.jclark.xsl.dom.ContainerNode
com.jclark.xsl.dom.ElementNode
class ElementNode
| Nested Class Summary | |
|---|---|
(package private) class |
ElementNode.AttributesIterator
|
| Field Summary |
|---|
| Fields inherited from class com.jclark.xsl.dom.ContainerNode |
|---|
prefixMap, preserveSpace |
| Fields inherited from class com.jclark.xsl.dom.NodeBase |
|---|
domNode, level, parent, root |
| Fields inherited from interface com.jclark.xsl.om.Node |
|---|
ALLTYPES, ATTRIBUTE, COMMENT, ELEMENT, N_TYPES, NAMESPACE, PROCESSING_INSTRUCTION, ROOT, TEXT |
| Constructor Summary | |
|---|---|
ElementNode(org.w3c.dom.Node domNode,
ContainerNode parent,
int childIndex)
|
|
| Method Summary | |
|---|---|
Node |
getAttribute(Name name)
default behavior -- return null. |
SafeNodeIterator |
getAttributes()
does this only work on Elements? |
java.lang.String |
getAttributeValue(Name name)
default behavior -- return null. |
Name |
getName()
default behavior -- return null. |
boolean |
getPreserveSpace()
|
byte |
getType()
returns one of: ELEMENT, TEXT, ATTRIBUTE,
ROOT, PROCESSING_INSTRUCTION or COMMENT |
| Methods inherited from class com.jclark.xsl.dom.ContainerNode |
|---|
getChildren, getNamespacePrefixMap, getUnparsedEntityURI |
| Methods inherited from class com.jclark.xsl.dom.NodeBase |
|---|
compareTo, equals, getColumnNumber, getData, getElementWithId, getFollowingSiblings, getGeneratedId, getLineNumber, getNamespaces, getParent, getPublicId, getRoot, getSystemId, getURL, isId |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
ElementNode(org.w3c.dom.Node domNode,
ContainerNode parent,
int childIndex)
| Method Detail |
|---|
public byte getType()
NodeELEMENT, TEXT, ATTRIBUTE,
ROOT, PROCESSING_INSTRUCTION or COMMENT
public Name getName()
NodeBase
getName in interface NodegetName in class NodeBasepublic java.lang.String getAttributeValue(Name name)
NodeBase
getAttributeValue in interface NodegetAttributeValue in class NodeBasepublic Node getAttribute(Name name)
NodeBase
getAttribute in interface NodegetAttribute in class NodeBasepublic SafeNodeIterator getAttributes()
Node
getAttributes in interface NodegetAttributes in class NodeBasepublic boolean getPreserveSpace()
getPreserveSpace in class ContainerNode
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||