org.gxml.sa
Interface GxReader<A,S,T>


public interface GxReader<A,S,T>


Method Summary
 void close()
           
 int getAttributeCount()
           
 SmName<S> getAttributeDataType(int index)
           
 S getAttributeLocalName(int index)
           
 SmName<S> getAttributeName(int index)
           
 S getAttributeNamespace(int index)
           
 java.lang.String getAttributePrefix(int index)
           
 java.lang.String getAttributeStringValue(int index)
           
 java.lang.String getAttributeStringValue(S namespaceURI, S localName)
          Returns the normalized value of the attribute with the namespaceURI and localName.
 java.util.List<? extends A> getAttributeTypedValue(int index)
           
 java.lang.Iterable<? extends A> getAttributeTypedValue(S namespaceURI, S localName)
           
 SmName<S> getDataType()
           
 int getLineNumber()
           
 S getLocalName()
           
 SmName<S> getName()
           
 int getNamespaceCount()
           
 java.lang.String getNamespacePrefix(int index)
           
 S getNamespaceURI()
           
 S getNamespaceURI(int index)
           
 java.lang.String getPrefix()
           
 java.lang.String getStringValue()
           
 java.lang.Iterable<? extends A> getTypedValue()
           
 boolean hasNext()
          Returns true if there are more parsing events and false if there are no more events.
 GxEventKind next()
           
 

Method Detail

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.