T
- public interface MetadataParser<T extends JCAMetadata>
Modifier and Type | Method and Description |
---|---|
T |
parse(java.io.InputStream xmlInputStream)
Parse the xml file and return the JCAMetaData for which the concrete parser is designed.
|
T |
parse(javax.xml.stream.XMLStreamReader reader)
Parse the xml file and return the JCAMetaData for which the concrete parser is designed.
|
T parse(java.io.InputStream xmlInputStream) throws java.lang.Exception
xmlInputStream
- an InputStrema opened on the xml file to parsejava.lang.Exception
- Thrown if an error occursT parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception
reader
- an XMLStreamReader opened on the xml file to parsejava.lang.Exception
- Thrown if an error occursCopyright ? 2008 Red Hat Middleware LLC (http://www.jboss.com/)