Apache CXF API

org.apache.cxf.aegis.xml.stax
Class AttributeReader

java.lang.Object
  extended by org.apache.cxf.aegis.xml.AbstractMessageReader
      extended by org.apache.cxf.aegis.xml.stax.AttributeReader
All Implemented Interfaces:
MessageReader

public class AttributeReader
extends AbstractMessageReader


Constructor Summary
AttributeReader(QName name, String value)
           
 
Method Summary
 MessageReader getAttributeReader(QName qName)
           
 MessageReader getAttributeReader(String n, String namespace)
           
 String getLocalName()
          Get the local name of the element this reader represents.
 QName getName()
           
 String getNamespace()
           
 String getNamespaceForPrefix(String prefix)
           
 MessageReader getNextAttributeReader()
           
 MessageReader getNextElementReader()
           
 String getValue()
           
 boolean hasMoreAttributeReaders()
           
 boolean hasMoreElementReaders()
           
 
Methods inherited from class org.apache.cxf.aegis.xml.AbstractMessageReader
getValueAsBoolean, getValueAsCharacter, getValueAsDouble, getValueAsFloat, getValueAsInt, getValueAsLong, getXMLStreamReader, hasValue, isXsiNil, readToEnd
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeReader

public AttributeReader(QName name,
                       String value)
Method Detail

getValue

public String getValue()

hasMoreAttributeReaders

public boolean hasMoreAttributeReaders()

getNextAttributeReader

public MessageReader getNextAttributeReader()

getAttributeReader

public MessageReader getAttributeReader(QName qName)

getAttributeReader

public MessageReader getAttributeReader(String n,
                                        String namespace)

hasMoreElementReaders

public boolean hasMoreElementReaders()

getNextElementReader

public MessageReader getNextElementReader()

getName

public QName getName()

getLocalName

public String getLocalName()
Description copied from interface: MessageReader
Get the local name of the element this reader represents.

Returns:
Local Name

getNamespace

public String getNamespace()
Returns:
Namespace

getNamespaceForPrefix

public String getNamespaceForPrefix(String prefix)

Apache CXF API

Apache CXF