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.Exception
public static Actulog readActulog(java.lang.String source) throws javax.xml.stream.XMLStreamException, fr.devinsy.util.xml.XMLBadFormatException
target
- in
- fr.devinsy.util.xml.XMLBadFormatException
javax.xml.stream.XMLStreamException
java.lang.Exception
public 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.XMLBadFormatException
javax.xml.stream.XMLStreamException
public static Wire readWire(java.lang.String source) throws javax.xml.stream.XMLStreamException, fr.devinsy.util.xml.XMLBadFormatException
target
- in
- fr.devinsy.util.xml.XMLBadFormatException
javax.xml.stream.XMLStreamException
java.lang.Exception
public 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.XMLBadFormatException
javax.xml.stream.XMLStreamException
public 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.XMLBadFormatException
javax.xml.stream.XMLStreamException
public static void save(java.io.File file, Actulog source, java.lang.String generator) throws java.lang.Exception
file
- Target.source
- Source.java.lang.Exception
public static java.lang.String toXMLString(Actulog source) throws java.io.UnsupportedEncodingException
source
- java.io.UnsupportedEncodingException
public static java.lang.String toXMLString(Wire source) throws java.io.UnsupportedEncodingException
source
- java.io.UnsupportedEncodingException
public 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
-