orc.ast.xml
Class Oil
java.lang.Object
orc.ast.xml.Oil
- All Implemented Interfaces:
- java.io.Serializable
public class Oil
- extends java.lang.Object
- implements java.io.Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
version
public java.lang.String version
expression
public Expression expression
Oil
public Oil()
Oil
public Oil(Expression expression)
throws CompilationException
- Throws:
CompilationException
Oil
public Oil(java.lang.String version,
Expression expression)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
unmarshal
public Expression unmarshal(Config config)
throws CompilationException
- Throws:
CompilationException
toXML
public java.lang.String toXML()
toXML
public void toXML(java.io.Writer out)
fromXML
public static Oil fromXML(java.lang.String xml)
fromXML
public static Oil fromXML(java.io.Reader in)
main
public static void main(java.lang.String[] args)
throws javax.xml.bind.JAXBException,
java.io.IOException
- Generate the schema definition.
- Throws:
javax.xml.bind.JAXBException
java.io.IOException