org.apache.maven.project.io.dom4j
Class MavenDom4jReader

java.lang.Object
  extended by org.apache.maven.project.io.dom4j.MavenDom4jReader

public class MavenDom4jReader
extends java.lang.Object

Class MavenDom4jReader.

Version:
$Revision$ $Date$

Constructor Summary
MavenDom4jReader()
           
 
Method Summary
 boolean getBooleanValue(java.lang.String s, java.lang.String attribute)
          Method getBooleanValue
 char getCharacterValue(java.lang.String s, java.lang.String attribute)
          Method getCharacterValue
 java.util.Date getDateValue(java.lang.String s, java.lang.String attribute)
          Method getDateValue
 double getDoubleValue(java.lang.String s, java.lang.String attribute, boolean strict)
          Method getDoubleValue
 float getFloatValue(java.lang.String s, java.lang.String attribute, boolean strict)
          Method getFloatValue
 int getIntegerValue(java.lang.String s, java.lang.String attribute, boolean strict)
          Method getIntegerValue
 long getLongValue(java.lang.String s, java.lang.String attribute, boolean strict)
          Method getLongValue
 short getShortValue(java.lang.String s, java.lang.String attribute, boolean strict)
          Method getShortValue
 java.lang.String getTrimmedValue(java.lang.String s)
          Method getTrimmedValue
 Model read(java.io.Reader reader)
          Method read
 Model read(java.io.Reader reader, boolean strict)
          Method read
 Model read(java.net.URL url)
          Method read
 Model read(java.net.URL url, boolean strict)
          Method read
 org.codehaus.plexus.util.xml.Xpp3Dom writeElementToXpp3Dom(org.dom4j.Element element)
          Method writeElementToXpp3Dom
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MavenDom4jReader

public MavenDom4jReader()
Method Detail

getBooleanValue

public boolean getBooleanValue(java.lang.String s,
                               java.lang.String attribute)
Method getBooleanValue

Parameters:
s -
attribute -

getCharacterValue

public char getCharacterValue(java.lang.String s,
                              java.lang.String attribute)
Method getCharacterValue

Parameters:
s -
attribute -

getDateValue

public java.util.Date getDateValue(java.lang.String s,
                                   java.lang.String attribute)
                            throws org.dom4j.DocumentException
Method getDateValue

Parameters:
s -
attribute -
Throws:
org.dom4j.DocumentException

getDoubleValue

public double getDoubleValue(java.lang.String s,
                             java.lang.String attribute,
                             boolean strict)
                      throws org.dom4j.DocumentException
Method getDoubleValue

Parameters:
s -
strict -
attribute -
Throws:
org.dom4j.DocumentException

getFloatValue

public float getFloatValue(java.lang.String s,
                           java.lang.String attribute,
                           boolean strict)
                    throws org.dom4j.DocumentException
Method getFloatValue

Parameters:
s -
strict -
attribute -
Throws:
org.dom4j.DocumentException

getIntegerValue

public int getIntegerValue(java.lang.String s,
                           java.lang.String attribute,
                           boolean strict)
                    throws org.dom4j.DocumentException
Method getIntegerValue

Parameters:
s -
strict -
attribute -
Throws:
org.dom4j.DocumentException

getLongValue

public long getLongValue(java.lang.String s,
                         java.lang.String attribute,
                         boolean strict)
                  throws org.dom4j.DocumentException
Method getLongValue

Parameters:
s -
strict -
attribute -
Throws:
org.dom4j.DocumentException

getShortValue

public short getShortValue(java.lang.String s,
                           java.lang.String attribute,
                           boolean strict)
                    throws org.dom4j.DocumentException
Method getShortValue

Parameters:
s -
strict -
attribute -
Throws:
org.dom4j.DocumentException

getTrimmedValue

public java.lang.String getTrimmedValue(java.lang.String s)
Method getTrimmedValue

Parameters:
s -

writeElementToXpp3Dom

public org.codehaus.plexus.util.xml.Xpp3Dom writeElementToXpp3Dom(org.dom4j.Element element)
Method writeElementToXpp3Dom

Parameters:
element -

read

public Model read(java.io.Reader reader,
                  boolean strict)
           throws java.io.IOException,
                  org.dom4j.DocumentException
Method read

Parameters:
reader -
strict -
Throws:
java.io.IOException
org.dom4j.DocumentException

read

public Model read(java.io.Reader reader)
           throws java.io.IOException,
                  org.dom4j.DocumentException
Method read

Parameters:
reader -
Throws:
java.io.IOException
org.dom4j.DocumentException

read

public Model read(java.net.URL url,
                  boolean strict)
           throws java.io.IOException,
                  org.dom4j.DocumentException
Method read

Parameters:
url -
strict -
Throws:
java.io.IOException
org.dom4j.DocumentException

read

public Model read(java.net.URL url)
           throws java.io.IOException,
                  org.dom4j.DocumentException
Method read

Parameters:
url -
Throws:
java.io.IOException
org.dom4j.DocumentException


Copyright © 2005-2007 Apache Software Foundation. All Rights Reserved.