|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kinsources.kiwa.hico.XMLHico
public class XMLHico
This class represents a Actulog File reader and writer.
Constructor Summary | |
---|---|
XMLHico()
|
Method Summary | |
---|---|
static Hico |
load(byte[] source)
|
static Hico |
load(java.io.File file)
|
static Article |
readArticle(java.lang.String source)
|
static Article |
readArticle(fr.devinsy.util.xml.XMLReader in)
|
static void |
readArticles(Articles target,
fr.devinsy.util.xml.XMLReader in)
|
static Hico |
readHico(java.lang.String source)
|
static Hico |
readHico(fr.devinsy.util.xml.XMLReader in)
Reads a net from a XMLReader object. |
static void |
save(java.io.File file,
Hico source,
java.lang.String generator)
Saves a net in a file. |
static java.lang.String |
toXMLString(Article source)
|
static java.lang.String |
toXMLString(Hico source)
|
static void |
write(fr.devinsy.util.xml.XMLWriter out,
Article source)
|
static void |
write(fr.devinsy.util.xml.XMLWriter out,
Articles source)
|
static void |
write(fr.devinsy.util.xml.XMLWriter out,
Hico source)
Writes a net in an stream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMLHico()
Method Detail |
---|
public static Hico load(byte[] source) throws java.lang.Exception
file
-
java.lang.Exception
public static Hico load(java.io.File file) throws java.lang.Exception
file
-
java.lang.Exception
public static Article readArticle(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 Article readArticle(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 readArticles(Articles 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 Hico readHico(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 Hico readHico(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 void save(java.io.File file, Hico source, java.lang.String generator) throws java.lang.Exception
file
- Target.source
- Source.
java.lang.Exception
public static java.lang.String toXMLString(Article source) throws java.io.UnsupportedEncodingException
source
-
java.io.UnsupportedEncodingException
public static java.lang.String toXMLString(Hico source) throws java.io.UnsupportedEncodingException
source
-
java.io.UnsupportedEncodingException
public static void write(fr.devinsy.util.xml.XMLWriter out, Article source)
source
- public static void write(fr.devinsy.util.xml.XMLWriter out, Articles source)
source
- public static void write(fr.devinsy.util.xml.XMLWriter out, Hico source)
out
- Target.source
- Source.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |