it.negro.jajb
Class Parser

java.lang.Object
  extended by it.negro.jajb.Parser

public class Parser
extends java.lang.Object

This class is the parser for jajb xml configurazione file

Author:
Gabriele Negro

Constructor Summary
protected Parser()
          A new Instance of Parser
 
Method Summary
protected  JAJBContext parse(java.io.InputStream inputStream)
          Reads all configuration and mapping file that are in relationship reading passed InputStream parameter and initializes all mapping and configuration information into a JAJBContext, then returns it.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Parser

protected Parser()
A new Instance of Parser

Method Detail

parse

protected JAJBContext parse(java.io.InputStream inputStream)
                     throws javax.xml.parsers.ParserConfigurationException,
                            org.xml.sax.SAXException,
                            java.io.IOException
Reads all configuration and mapping file that are in relationship reading passed InputStream parameter and initializes all mapping and configuration information into a JAJBContext, then returns it.

Parameters:
inputStream - the inputStream representing the xml configuration file
Returns:
JAJBContext
Throws:
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
java.io.IOException


Copyright © 2008. All Rights Reserved.