|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.maven.plugins.thirdparty.ComponentInfoReader
public class ComponentInfoReader
Class to verify that a component-info.xml class is valid.
Constructor Summary | |
---|---|
ComponentInfoReader()
|
Method Summary | |
---|---|
static ComponentInfo |
parseComponentInfo(java.io.File compInfoFile)
Read a component-info.xml file into a ComponentInfo object. |
static ComponentInfo |
parseComponentInfo(java.io.InputStream compInfoIS)
Read a component-info.xml from an input stream into a ComponentInfo object. |
static void |
verifyCompInfo(java.io.InputStream compInfo)
Verify a component-info.xml file using the xsd. |
static void |
verifyCompInfo(java.lang.String compInfoFilePath)
Verify a component-info.xml file using the xsd. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ComponentInfoReader()
Method Detail |
---|
public static ComponentInfo parseComponentInfo(java.io.File compInfoFile) throws java.io.IOException, javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException
compInfoFile
-
java.io.IOException
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
public static ComponentInfo parseComponentInfo(java.io.InputStream compInfoIS) throws java.io.IOException, javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException
compInfoFile
-
java.io.IOException
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
public static void verifyCompInfo(java.lang.String compInfoFilePath) throws org.xml.sax.SAXException, java.io.FileNotFoundException
compInfoFilePath
- Path to the component-info.xml to be verified.
org.xml.sax.SAXException
java.io.FileNotFoundException
public static void verifyCompInfo(java.io.InputStream compInfo) throws org.xml.sax.SAXException
compInfoFilePath
- Path to the component-info.xml to be verified.
org.xml.sax.SAXException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |