org.gxml.sa
Interface GxReader<A,S,T>
public interface GxReader<A,S,T>
close
void close()
getAttributeCount
int getAttributeCount()
getAttributeDataType
SmName<S> getAttributeDataType(int index)
getAttributeLocalName
S getAttributeLocalName(int index)
getAttributeName
SmName<S> getAttributeName(int index)
getAttributeNamespace
S getAttributeNamespace(int index)
getAttributePrefix
java.lang.String getAttributePrefix(int index)
getAttributeStringValue
java.lang.String getAttributeStringValue(int index)
getAttributeStringValue
java.lang.String getAttributeStringValue(S namespaceURI,
S localName)
- Returns the normalized value of the attribute with the namespaceURI and localName.
- Parameters:
namespaceURI
- the namespace of the attribute, cannot be null.localName
- the local name of the attribute, cannot be null
- Returns:
- returns the value of the attribute , returns null if not found.
getAttributeTypedValue
java.util.List<? extends A> getAttributeTypedValue(int index)
getAttributeTypedValue
java.lang.Iterable<? extends A> getAttributeTypedValue(S namespaceURI,
S localName)
getDataType
SmName<S> getDataType()
getLineNumber
int getLineNumber()
getLocalName
S getLocalName()
getName
SmName<S> getName()
getNamespaceCount
int getNamespaceCount()
getNamespacePrefix
java.lang.String getNamespacePrefix(int index)
getNamespaceURI
S getNamespaceURI()
getNamespaceURI
S getNamespaceURI(int index)
getPrefix
java.lang.String getPrefix()
getStringValue
java.lang.String getStringValue()
getTypedValue
java.lang.Iterable<? extends A> getTypedValue()
hasNext
boolean hasNext()
- Returns true if there are more parsing events and false if there are no more events. This method will return
false if the current state of the
GxReader
is END_DOCUMENT
- Returns:
- true if there are more events, false otherwise
next
GxEventKind next()
throws GxAbortException
- Throws:
GxAbortException
Copyright © 2009 TIBCO Software Inc. All Rights Reserved.