org.gxml.sa
Interface GxCursor<N,A,S,T>
- All Superinterfaces:
- java.lang.Comparable<GxCursor<N,A,S,T>>, Cursor<N,S,SmName<S>>
public interface GxCursor<N,A,S,T>
- extends java.lang.Comparable<GxCursor<N,A,S,T>>, Cursor<N,S,SmName<S>>
Method Summary |
N |
bookmark()
|
java.lang.Iterable<SmName<S>> |
getAttributeNames(boolean orderCanonical)
|
java.net.URI |
getBaseURI()
|
java.net.URI |
getDocumentURI()
|
int |
getLineNumber()
Returns the line number, or -1 if none is available. |
S |
getLocalName()
Returns the local-name property of the dm:node-name. |
java.util.Map<java.lang.String,S> |
getNamespaceBindings()
|
java.lang.Iterable<java.lang.String> |
getNamespaceNames(boolean orderCanonical)
|
S |
getNamespaceURI()
|
NodeKind |
getNodeKind()
|
java.lang.String |
getPrefix()
|
java.lang.String |
getStringValue()
|
SmName<S> |
getType()
|
java.util.List<? extends A> |
getTypedValue()
|
boolean |
hasAttributes()
|
boolean |
hasChildren()
|
boolean |
hasNamespaces()
|
boolean |
hasNextSibling()
|
boolean |
hasParent()
|
boolean |
hasPreviousSibling()
|
boolean |
matches(NodeKind nodeKind,
S namespaceURI,
S localName)
|
void |
moveTo(N bookmark)
|
boolean |
moveToAttribute(S namespaceURI,
S localName)
|
boolean |
moveToFirstChild()
|
boolean |
moveToFirstChildElement()
|
boolean |
moveToFirstChildElementByName(S namespaceURI,
S localName)
|
boolean |
moveToLastChild()
|
boolean |
moveToNextSibling()
|
boolean |
moveToNextSiblingElement()
|
boolean |
moveToNextSiblingElementByName(S namespaceURI,
S localName)
|
boolean |
moveToParent()
|
boolean |
moveToPreviousSibling()
|
void |
moveToRoot()
|
void |
stream(boolean copyNamespaces,
boolean copyTypeAnnotations,
GxContentHandler<A,S,T> writer)
|
Methods inherited from interface java.lang.Comparable |
compareTo |
bookmark
N bookmark()
- Specified by:
bookmark
in interface Cursor<N,S,SmName<S>>
- Returns:
- an immovable bookmark for the current cursor position.
getAttributeNames
java.lang.Iterable<SmName<S>> getAttributeNames(boolean orderCanonical)
getBaseURI
java.net.URI getBaseURI()
throws java.net.URISyntaxException
- Throws:
java.net.URISyntaxException
getDocumentURI
java.net.URI getDocumentURI()
getLineNumber
int getLineNumber()
- Returns the line number, or
-1
if none is available.
getLocalName
S getLocalName()
- Description copied from interface:
Cursor
- Returns the local-name property of the dm:node-name.
An empty local-name is returned as the zero-length string.
This method never returns null
.
- Specified by:
getLocalName
in interface Cursor<N,S,SmName<S>>
getNamespaceBindings
java.util.Map<java.lang.String,S> getNamespaceBindings()
getNamespaceNames
java.lang.Iterable<java.lang.String> getNamespaceNames(boolean orderCanonical)
getNamespaceURI
S getNamespaceURI()
getNodeKind
NodeKind getNodeKind()
getPrefix
java.lang.String getPrefix()
getStringValue
java.lang.String getStringValue()
getType
SmName<S> getType()
getTypedValue
java.util.List<? extends A> getTypedValue()
hasAttributes
boolean hasAttributes()
hasChildren
boolean hasChildren()
hasNamespaces
boolean hasNamespaces()
hasNextSibling
boolean hasNextSibling()
hasParent
boolean hasParent()
hasPreviousSibling
boolean hasPreviousSibling()
matches
boolean matches(NodeKind nodeKind,
S namespaceURI,
S localName)
moveTo
void moveTo(N bookmark)
moveToAttribute
boolean moveToAttribute(S namespaceURI,
S localName)
moveToFirstChild
boolean moveToFirstChild()
moveToFirstChildElement
boolean moveToFirstChildElement()
moveToFirstChildElementByName
boolean moveToFirstChildElementByName(S namespaceURI,
S localName)
moveToLastChild
boolean moveToLastChild()
moveToNextSibling
boolean moveToNextSibling()
moveToNextSiblingElement
boolean moveToNextSiblingElement()
moveToNextSiblingElementByName
boolean moveToNextSiblingElementByName(S namespaceURI,
S localName)
moveToParent
boolean moveToParent()
moveToPreviousSibling
boolean moveToPreviousSibling()
moveToRoot
void moveToRoot()
stream
void stream(boolean copyNamespaces,
boolean copyTypeAnnotations,
GxContentHandler<A,S,T> writer)
Copyright © 2009 TIBCO Software Inc. All Rights Reserved.