org.jboss.maven.plugins.deploy
Class CompInfoVerifier

java.lang.Object
  extended by org.jboss.maven.plugins.deploy.CompInfoVerifier

public class CompInfoVerifier
extends java.lang.Object

Class to verify that a component-info.xml class is valid.

Author:
Paul Gier

Constructor Summary
CompInfoVerifier()
           
 
Method Summary
 void verifyCompInfo(java.io.InputStream compInfo)
          Verify a component-info.xml file using the xsd.
 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

CompInfoVerifier

public CompInfoVerifier()
Method Detail

verifyCompInfo

public void verifyCompInfo(java.lang.String compInfoFilePath)
                    throws org.xml.sax.SAXException,
                           java.io.FileNotFoundException
Verify a component-info.xml file using the xsd.

Parameters:
compInfoFilePath - Path to the component-info.xml to be verified.
Throws:
org.xml.sax.SAXException
java.io.FileNotFoundException

verifyCompInfo

public void verifyCompInfo(java.io.InputStream compInfo)
                    throws org.xml.sax.SAXException
Verify a component-info.xml file using the xsd.

Parameters:
compInfoFilePath - Path to the component-info.xml to be verified.
Throws:
org.xml.sax.SAXException


Copyright © 2007 JBoss Inc.. All Rights Reserved.