View Javadoc

    1   package org.codehaus.xfire.aegis;
    2
    3   import javax.xml.namespace.QName;
    4
    5   /***
    6    * A MessageReader. You must call getNextChildReader() until hasMoreChildReaders()
    7    * returns false.
    8    *
    9    * @author <a href="mailto:dan@envoisolutions.com">Dan Diephouse</a>
    10   */
    11  public interface MessageReader
    12  {
    13      public String getValue();
    14
    15      public int getValueAsInt();
    16
    17      public long getValueAsLong();
    18
    19      public double getValueAsDouble();
    20
    21      public float getValueAsFloat();
    22
    23  	public boolean getValueAsBoolean();
    24
    25      public boolean hasMoreAttributeReaders();
    26
    27      public MessageReader getNextAttributeReader();
    28
    29      public boolean hasMoreElementReaders();
    30
    31      public MessageReader getNextElementReader();
    32
    33      public QName getName();
    34
    35      /***
    36       * Get the local name of the element this reader represents.
    37       * @return
    38       */
    39      public String getLocalName();
    40
    41      /***
    42       * @return
    43       */
    44      public String getNamespace();
    45
    46  }