public class XMLActulog
extends java.lang.Object
| Constructor and Description |
|---|
XMLActulog() |
| Modifier and Type | Method and Description |
|---|---|
static Actulog |
load(java.io.File file) |
static Actulog |
readActulog(java.lang.String source) |
static Actulog |
readActulog(fr.devinsy.util.xml.XMLReader in)
Reads a net from a XMLReader object.
|
static Wire |
readWire(java.lang.String source) |
static Wire |
readWire(fr.devinsy.util.xml.XMLReader in) |
static void |
readWires(Wires target,
fr.devinsy.util.xml.XMLReader in) |
static void |
save(java.io.File file,
Actulog source,
java.lang.String generator)
Saves a net in a file.
|
static java.lang.String |
toXMLString(Actulog source) |
static java.lang.String |
toXMLString(Wire source) |
static void |
write(fr.devinsy.util.xml.XMLWriter out,
Actulog source)
Writes a net in an stream.
|
static void |
write(fr.devinsy.util.xml.XMLWriter out,
Wire source) |
static void |
write(fr.devinsy.util.xml.XMLWriter out,
Wires source) |
public static Actulog load(java.io.File file) throws java.lang.Exception
file - java.lang.Exceptionpublic static Actulog readActulog(java.lang.String source) throws javax.xml.stream.XMLStreamException, fr.devinsy.util.xml.XMLBadFormatException
target - in - fr.devinsy.util.xml.XMLBadFormatExceptionjavax.xml.stream.XMLStreamExceptionjava.lang.Exceptionpublic static Actulog readActulog(fr.devinsy.util.xml.XMLReader in) throws javax.xml.stream.XMLStreamException, fr.devinsy.util.xml.XMLBadFormatException
in - the source of reading.fr.devinsy.util.xml.XMLBadFormatExceptionjavax.xml.stream.XMLStreamExceptionpublic static Wire readWire(java.lang.String source) throws javax.xml.stream.XMLStreamException, fr.devinsy.util.xml.XMLBadFormatException
target - in - fr.devinsy.util.xml.XMLBadFormatExceptionjavax.xml.stream.XMLStreamExceptionjava.lang.Exceptionpublic static Wire readWire(fr.devinsy.util.xml.XMLReader in) throws javax.xml.stream.XMLStreamException, fr.devinsy.util.xml.XMLBadFormatException
target - in - fr.devinsy.util.xml.XMLBadFormatExceptionjavax.xml.stream.XMLStreamExceptionpublic static void readWires(Wires target, fr.devinsy.util.xml.XMLReader in) throws javax.xml.stream.XMLStreamException, fr.devinsy.util.xml.XMLBadFormatException
target - in - fr.devinsy.util.xml.XMLBadFormatExceptionjavax.xml.stream.XMLStreamExceptionpublic static void save(java.io.File file,
Actulog source,
java.lang.String generator)
throws java.lang.Exception
file - Target.source - Source.java.lang.Exceptionpublic static java.lang.String toXMLString(Actulog source) throws java.io.UnsupportedEncodingException
source - java.io.UnsupportedEncodingExceptionpublic static java.lang.String toXMLString(Wire source) throws java.io.UnsupportedEncodingException
source - java.io.UnsupportedEncodingExceptionpublic static void write(fr.devinsy.util.xml.XMLWriter out,
Actulog source)
out - Target.source - Source.public static void write(fr.devinsy.util.xml.XMLWriter out,
Wire source)
source - public static void write(fr.devinsy.util.xml.XMLWriter out,
Wires source)
source -