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
  • Constructor Details

    • WeblogicRaPasrer

      public WeblogicRaPasrer()
  • Method Details

    • parse

      public WeblogicConnector parse(InputStream xmlInputStream) throws Exception
      Description copied from interface: MetadataParser
      Parse 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:
      parse in interface MetadataParser<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: MetadataParser
      Parse 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:
      parse in interface MetadataParser<WeblogicConnector>
      Parameters:
      reader - an XMLStreamReader opened on the xml file to parse
      Returns:
      The metadata
      Throws:
      Exception - Thrown if an error occurs