Apache CXF API

org.apache.cxf.aegis.xml
Interface MessageReader

All Known Implementing Classes:
AbstractMessageReader, AttributeReader, ElementReader

public interface MessageReader

A MessageReader. You must call getNextChildReader() until hasMoreChildReaders() returns false.


Method Summary
 MessageReader getAttributeReader(QName qName)
           
 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 getValueAsBoolean()
           
 char getValueAsCharacter()
           
 double getValueAsDouble()
           
 float getValueAsFloat()
           
 int getValueAsInt()
           
 long getValueAsLong()
           
 XMLStreamReader getXMLStreamReader()
           
 boolean hasMoreAttributeReaders()
           
 boolean hasMoreElementReaders()
           
 boolean isXsiNil()
           
 void readToEnd()
           
 

Method Detail

getValue

String getValue()

isXsiNil

boolean isXsiNil()

getValueAsInt

int getValueAsInt()

getValueAsLong

long getValueAsLong()

getValueAsDouble

double getValueAsDouble()

getValueAsFloat

float getValueAsFloat()

getValueAsBoolean

boolean getValueAsBoolean()

getValueAsCharacter

char getValueAsCharacter()

getAttributeReader

MessageReader getAttributeReader(QName qName)

hasMoreAttributeReaders

boolean hasMoreAttributeReaders()

getNextAttributeReader

MessageReader getNextAttributeReader()

hasMoreElementReaders

boolean hasMoreElementReaders()

getNextElementReader

MessageReader getNextElementReader()

getName

QName getName()

getLocalName

String getLocalName()
Get the local name of the element this reader represents.

Returns:
Local Name

getNamespace

String getNamespace()
Returns:
Namespace

getNamespaceForPrefix

String getNamespaceForPrefix(String prefix)

getXMLStreamReader

XMLStreamReader getXMLStreamReader()

readToEnd

void readToEnd()

Apache CXF API

Apache CXF