public class ResultNodeBuilderFactory
extends java.lang.Object
ImplementationIF
Modifier and Type | Method and Description |
---|---|
ResultNodeBuilder |
createResultNodeBuilder(XSDContextIF ctx,
java.io.InputStream is)
Create a result node builder.
|
ResultNodeBuilder |
createResultNodeBuilder(XSDContextIF ctx,
java.lang.String filename)
Create a result node builder.
|
static ResultNodeBuilderFactory |
getInstance()
Get the instance.
|
static void |
main(java.lang.String[] args)
The main procedure for testing reasons.
|
public static ResultNodeBuilderFactory getInstance()
public ResultNodeBuilder createResultNodeBuilder(XSDContextIF ctx, java.lang.String filename) throws java.io.FileNotFoundException, InvalidDescriptorException, InvalidArgumentException, InitializationFailedException, ExecutableException, javax.xml.bind.JAXBException, java.io.IOException
ctx
- the context.filename
- the file name.java.io.FileNotFoundException
- if the specified file was not found.InvalidDescriptorException
- If the file doesn't hold a query tree xml.InvalidArgumentException
- if the query tree creation fail,
caused by missing or invalid arguments.InitializationFailedException
- if the initialization of the query tree object fails.ExecutableException
- if the execution of the query tree fials.javax.xml.bind.JAXBException
- if the JAXB operation fails.java.io.IOException
- if any io fails.public ResultNodeBuilder createResultNodeBuilder(XSDContextIF ctx, java.io.InputStream is) throws InvalidDescriptorException, InvalidArgumentException, InitializationFailedException, ExecutableException, javax.xml.bind.JAXBException, java.io.IOException
ctx
- the contextis
- the input streamInvalidDescriptorException
- If the file doesn't hold a query tree xml.InvalidArgumentException
- if the query tree creation fail,
caused by missing or invalid arguments.InitializationFailedException
- if the initialization of the query tree object fails.ExecutableException
- if the execution of the query tree fials.javax.xml.bind.JAXBException
- if the JAXB operation fails.java.io.IOException
- if any io fails.public static void main(java.lang.String[] args) throws java.lang.Throwable
args
- the first argument should be the XML filename.java.lang.Throwable