X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=website%2Ffull_javadoc%2Fcompbio%2Fengine%2Fconf%2FRunnerConfigMarshaller.html;fp=website%2Ffull_javadoc%2Fcompbio%2Fengine%2Fconf%2FRunnerConfigMarshaller.html;h=fe2287e0dd07168c1e74291ae3c6b4a1fbea9c21;hb=da8c820a7fb2edecb190589f3dc9c362e57a2f24;hp=0000000000000000000000000000000000000000;hpb=0bbebf27d045b1345bc042bdf24ef2e6808df251;p=jabaws.git diff --git a/website/full_javadoc/compbio/engine/conf/RunnerConfigMarshaller.html b/website/full_javadoc/compbio/engine/conf/RunnerConfigMarshaller.html new file mode 100644 index 0000000..fe2287e --- /dev/null +++ b/website/full_javadoc/compbio/engine/conf/RunnerConfigMarshaller.html @@ -0,0 +1,507 @@ + + + + + + +RunnerConfigMarshaller + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +compbio.engine.conf +
+Class RunnerConfigMarshaller<T>

+
+java.lang.Object
+  extended by compbio.engine.conf.RunnerConfigMarshaller<T>
+
+
+
+
public class RunnerConfigMarshaller<T>
extends Object
+ + +

+


+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
RunnerConfigMarshaller(Class<?> rootClass) + +
+           
RunnerConfigMarshaller(Class<?> rootClass, + Class<?>... classes) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static SchemagetSchema(String schemafile) + +
+           
+static ValidatorgetValidator(Schema schema) + +
+           
+static ValidatorgetValidator(String schemafile) + +
+           
+ + + + + +
+<V> V
+
read(InputStream instream, + Class<V> resultElemType) + +
+           
+ + + + + +
+<V> V
+
read(InputStream instream, + Class<V> resultElemType, + Class<?>... classes) + +
+           
+ + + + + +
+<V> V
+
readAndValidate(InputStream document, + Class<V> resultElemType) + +
+           
+static booleanvalidate(Validator validator, + String document) + +
+           
+ voidwrite(Object xmlRootElement, + OutputStream out) + +
+           
+ voidwriteAndValidate(Object xmlRootElement, + String schemafile, + OutputStream out) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RunnerConfigMarshaller

+
+public RunnerConfigMarshaller(Class<?> rootClass)
+                       throws JAXBException
+
+
+ +
Throws: +
JAXBException
+
+
+ +

+RunnerConfigMarshaller

+
+public RunnerConfigMarshaller(Class<?> rootClass,
+                              Class<?>... classes)
+                       throws JAXBException
+
+
+ +
Throws: +
JAXBException
+
+ + + + + + + + +
+Method Detail
+ +

+write

+
+public void write(Object xmlRootElement,
+                  OutputStream out)
+           throws JAXBException,
+                  IOException
+
+
+ +
Throws: +
JAXBException +
IOException
+
+
+
+ +

+writeAndValidate

+
+public void writeAndValidate(Object xmlRootElement,
+                             String schemafile,
+                             OutputStream out)
+                      throws JAXBException,
+                             IOException,
+                             SAXException
+
+
+ +
Throws: +
JAXBException +
IOException +
SAXException
+
+
+
+ +

+getSchema

+
+public static Schema getSchema(String schemafile)
+                        throws SAXException
+
+
+ +
Throws: +
SAXException
+
+
+
+ +

+getValidator

+
+public static Validator getValidator(String schemafile)
+                              throws SAXException
+
+
+ +
Returns:
validator instance +
Throws: +
SAXException
+
+
+
+ +

+getValidator

+
+public static Validator getValidator(Schema schema)
+                              throws SAXException
+
+
+ +
Throws: +
SAXException
+
+
+
+ +

+validate

+
+public static boolean validate(Validator validator,
+                               String document)
+                        throws IOException,
+                               SAXException
+
+
+ +
Throws: +
IOException +
SAXException
+
+
+
+ +

+readAndValidate

+
+public <V> V readAndValidate(InputStream document,
+                             Class<V> resultElemType)
+                  throws JAXBException,
+                         IOException,
+                         SAXException
+
+
+ +
Throws: +
JAXBException +
IOException +
SAXException
+
+
+
+ +

+read

+
+public <V> V read(InputStream instream,
+                  Class<V> resultElemType)
+       throws JAXBException
+
+
+ +
Throws: +
JAXBException
+
+
+
+ +

+read

+
+public <V> V read(InputStream instream,
+                  Class<V> resultElemType,
+                  Class<?>... classes)
+       throws JAXBException
+
+
+ +
Throws: +
JAXBException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + +