org.codehaus.mojo.appassembler.model.io.stax
Class AppassemblerModelStaxReader

java.lang.Object
  extended by org.codehaus.mojo.appassembler.model.io.stax.AppassemblerModelStaxReader

public class AppassemblerModelStaxReader
extends Object

Class AppassemblerModelStaxReader.

Version:
$Revision$ $Date$

Constructor Summary
AppassemblerModelStaxReader()
           
 
Method Summary
 org.codehaus.plexus.util.xml.Xpp3Dom buildDom(javax.xml.stream.XMLStreamReader xmlStreamReader)
          Method buildDom
 boolean getBooleanValue(String s, String attribute, javax.xml.stream.XMLStreamReader xmlStreamReader)
          Method getBooleanValue
 char getCharacterValue(String s, String attribute, javax.xml.stream.XMLStreamReader xmlStreamReader)
          Method getCharacterValue
 Date getDateValue(String s, String attribute, String dateFormat, javax.xml.stream.XMLStreamReader xmlStreamReader)
          Method getDateValue
 double getDoubleValue(String s, String attribute, javax.xml.stream.XMLStreamReader xmlStreamReader, boolean strict)
          Method getDoubleValue
 float getFloatValue(String s, String attribute, javax.xml.stream.XMLStreamReader xmlStreamReader, boolean strict)
          Method getFloatValue
 int getIntegerValue(String s, String attribute, javax.xml.stream.XMLStreamReader xmlStreamReader, boolean strict)
          Method getIntegerValue
 long getLongValue(String s, String attribute, javax.xml.stream.XMLStreamReader xmlStreamReader, boolean strict)
          Method getLongValue
 String getRequiredAttributeValue(String s, String attribute, javax.xml.stream.XMLStreamReader xmlStreamReader, boolean strict)
          Method getRequiredAttributeValue
 short getShortValue(String s, String attribute, javax.xml.stream.XMLStreamReader xmlStreamReader, boolean strict)
          Method getShortValue
 String getTrimmedValue(String s)
          Method getTrimmedValue
 Daemon read(Reader reader)
          Method read
 Daemon read(Reader reader, boolean strict)
          Method read
 Daemon read(String filePath)
          Method read
 Daemon read(String filePath, boolean strict)
          Method read
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppassemblerModelStaxReader

public AppassemblerModelStaxReader()
Method Detail

buildDom

public org.codehaus.plexus.util.xml.Xpp3Dom buildDom(javax.xml.stream.XMLStreamReader xmlStreamReader)
                                              throws javax.xml.stream.XMLStreamException
Method buildDom

Parameters:
xmlStreamReader -
Throws:
javax.xml.stream.XMLStreamException

getBooleanValue

public boolean getBooleanValue(String s,
                               String attribute,
                               javax.xml.stream.XMLStreamReader xmlStreamReader)
                        throws javax.xml.stream.XMLStreamException
Method getBooleanValue

Parameters:
s -
xmlStreamReader -
attribute -
Throws:
javax.xml.stream.XMLStreamException

getCharacterValue

public char getCharacterValue(String s,
                              String attribute,
                              javax.xml.stream.XMLStreamReader xmlStreamReader)
                       throws javax.xml.stream.XMLStreamException
Method getCharacterValue

Parameters:
s -
xmlStreamReader -
attribute -
Throws:
javax.xml.stream.XMLStreamException

getDateValue

public Date getDateValue(String s,
                         String attribute,
                         String dateFormat,
                         javax.xml.stream.XMLStreamReader xmlStreamReader)
                  throws javax.xml.stream.XMLStreamException
Method getDateValue

Parameters:
s -
xmlStreamReader -
dateFormat -
attribute -
Throws:
javax.xml.stream.XMLStreamException

getDoubleValue

public double getDoubleValue(String s,
                             String attribute,
                             javax.xml.stream.XMLStreamReader xmlStreamReader,
                             boolean strict)
                      throws javax.xml.stream.XMLStreamException
Method getDoubleValue

Parameters:
s -
strict -
xmlStreamReader -
attribute -
Throws:
javax.xml.stream.XMLStreamException

getFloatValue

public float getFloatValue(String s,
                           String attribute,
                           javax.xml.stream.XMLStreamReader xmlStreamReader,
                           boolean strict)
                    throws javax.xml.stream.XMLStreamException
Method getFloatValue

Parameters:
s -
strict -
xmlStreamReader -
attribute -
Throws:
javax.xml.stream.XMLStreamException

getIntegerValue

public int getIntegerValue(String s,
                           String attribute,
                           javax.xml.stream.XMLStreamReader xmlStreamReader,
                           boolean strict)
                    throws javax.xml.stream.XMLStreamException
Method getIntegerValue

Parameters:
s -
strict -
xmlStreamReader -
attribute -
Throws:
javax.xml.stream.XMLStreamException

getLongValue

public long getLongValue(String s,
                         String attribute,
                         javax.xml.stream.XMLStreamReader xmlStreamReader,
                         boolean strict)
                  throws javax.xml.stream.XMLStreamException
Method getLongValue

Parameters:
s -
strict -
xmlStreamReader -
attribute -
Throws:
javax.xml.stream.XMLStreamException

getRequiredAttributeValue

public String getRequiredAttributeValue(String s,
                                        String attribute,
                                        javax.xml.stream.XMLStreamReader xmlStreamReader,
                                        boolean strict)
                                 throws javax.xml.stream.XMLStreamException
Method getRequiredAttributeValue

Parameters:
s -
strict -
xmlStreamReader -
attribute -
Throws:
javax.xml.stream.XMLStreamException

getShortValue

public short getShortValue(String s,
                           String attribute,
                           javax.xml.stream.XMLStreamReader xmlStreamReader,
                           boolean strict)
                    throws javax.xml.stream.XMLStreamException
Method getShortValue

Parameters:
s -
strict -
xmlStreamReader -
attribute -
Throws:
javax.xml.stream.XMLStreamException

getTrimmedValue

public String getTrimmedValue(String s)
Method getTrimmedValue

Parameters:
s -

read

public Daemon read(Reader reader,
                   boolean strict)
            throws IOException,
                   javax.xml.stream.XMLStreamException
Method read

Parameters:
reader -
strict -
Throws:
IOException
javax.xml.stream.XMLStreamException

read

public Daemon read(Reader reader)
            throws IOException,
                   javax.xml.stream.XMLStreamException
Method read

Parameters:
reader -
Throws:
IOException
javax.xml.stream.XMLStreamException

read

public Daemon read(String filePath,
                   boolean strict)
            throws IOException,
                   javax.xml.stream.XMLStreamException
Method read

Parameters:
filePath -
strict -
Throws:
IOException
javax.xml.stream.XMLStreamException

read

public Daemon read(String filePath)
            throws IOException,
                   javax.xml.stream.XMLStreamException
Method read

Parameters:
filePath -
Throws:
IOException
javax.xml.stream.XMLStreamException


Copyright © 2006-2011 Codehaus. All Rights Reserved.