Class WeblogicRaPasrer
- java.lang.Object
-
- org.jboss.jca.as.converters.wls.metadata.AbstractParser
-
- org.jboss.jca.as.converters.wls.metadata.WeblogicRaPasrer
-
- All Implemented Interfaces:
MetadataParser<WeblogicConnector>
public class WeblogicRaPasrer extends AbstractParser implements MetadataParser<WeblogicConnector>
A WeblogicRaPasrer- Author:
- Jeff Zhang
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWeblogicRaPasrer.TagA Tag.
-
Constructor Summary
Constructors Constructor Description WeblogicRaPasrer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WeblogicConnectorparse(InputStream xmlInputStream)Parse the xml file and return the JCAMetaData for which the concrete parser is designed.WeblogicConnectorparse(XMLStreamReader reader)Parse the xml file and return the JCAMetaData for which the concrete parser is designed.-
Methods inherited from class org.jboss.jca.as.converters.wls.metadata.AbstractParser
attributeAsBoolean, attributeAsInt, attributeAsString, elementAsBoolean, elementAsInteger, elementAsLong, elementAsString, isSystemPropertiesResolved, setSystemPropertiesResolved
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jboss.jca.as.converters.wls.metadata.MetadataParser
isSystemPropertiesResolved, setSystemPropertiesResolved
-
-
-
-
Method Detail
-
parse
public WeblogicConnector parse(InputStream xmlInputStream) throws Exception
Description copied from interface:MetadataParserParse the xml file and return the JCAMetaData for which the concrete parser is designed. Note that is responsibility of the client to open and close the stream- Specified by:
parsein interfaceMetadataParser<WeblogicConnector>- Parameters:
xmlInputStream- an InputStrema opened on the xml file to parse- Returns:
- The metadata
- Throws:
Exception- Thrown if an error occurs
-
parse
public WeblogicConnector parse(XMLStreamReader reader) throws Exception
Description copied from interface:MetadataParserParse the xml file and return the JCAMetaData for which the concrete parser is designed. Note that is responsibility of the client to open and close the stream- Specified by:
parsein interfaceMetadataParser<WeblogicConnector>- Parameters:
reader- an XMLStreamReader opened on the xml file to parse- Returns:
- The metadata
- Throws:
Exception- Thrown if an error occurs
-
-