public class XMLKidarep
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
XMLKidarep.Mode |
Constructor and Description |
---|
XMLKidarep() |
Modifier and Type | Method and Description |
---|---|
static Kidarep |
load(java.io.File file) |
static org.tip.puck.net.workers.AttributeFilter |
readAttributeFilter(fr.devinsy.util.xml.XMLReader in) |
static void |
readAttributeFilters(org.tip.puck.net.workers.AttributeFilters target,
fr.devinsy.util.xml.XMLReader in) |
static Collaborator |
readCollaborator(fr.devinsy.util.xml.XMLReader in) |
static void |
readCollaborators(Collaborators target,
fr.devinsy.util.xml.XMLReader in) |
static Collection |
readCollection(java.lang.String source) |
static Collection |
readCollection(fr.devinsy.util.xml.XMLReader in) |
static void |
readCollections(Collections target,
fr.devinsy.util.xml.XMLReader in) |
static Contributor |
readContributor(fr.devinsy.util.xml.XMLReader in) |
static void |
readContributors(Contributors target,
fr.devinsy.util.xml.XMLReader in) |
static Dataset |
readDataset(java.lang.String source) |
static Dataset |
readDataset(fr.devinsy.util.xml.XMLReader in) |
static DatasetFile |
readDatasetFile(fr.devinsy.util.xml.XMLReader in) |
static void |
readDatasets(Datasets target,
java.lang.String source) |
static void |
readDatasets(Datasets target,
fr.devinsy.util.xml.XMLReader in) |
static FormatIssue |
readFormatIssue(java.lang.String source) |
static FormatIssue |
readFormatIssue(fr.devinsy.util.xml.XMLReader in) |
static void |
readFormatIssues(FormatIssues target,
fr.devinsy.util.xml.XMLReader in) |
static Kidarep |
readKidarep(fr.devinsy.util.xml.XMLReader in)
Reads a net from a XMLReader object.
|
static LoadedFile |
readLoadedFile(fr.devinsy.util.xml.XMLReader in) |
static LoadedFileHeader |
readLoadedFileHeader(fr.devinsy.util.xml.XMLReader in) |
static void |
readLoadedFileHeaders(LoadedFileHeaders target,
fr.devinsy.util.xml.XMLReader in) |
static void |
readStatistics(Statistics target,
fr.devinsy.util.xml.XMLReader in) |
static void |
save(java.io.File file,
Kidarep source,
java.lang.String generator)
Saves a net in a file.
|
static java.lang.String |
toXMLString(Collection source) |
static java.lang.String |
toXMLString(Dataset source) |
static java.lang.String |
toXMLString(FormatIssue source) |
static void |
write(fr.devinsy.util.xml.XMLWriter out,
org.tip.puck.net.workers.AttributeFilter source) |
static void |
write(fr.devinsy.util.xml.XMLWriter out,
org.tip.puck.net.workers.AttributeFilters source) |
static void |
write(fr.devinsy.util.xml.XMLWriter out,
Collaborator source) |
static void |
write(fr.devinsy.util.xml.XMLWriter out,
Collaborators source) |
static void |
write(fr.devinsy.util.xml.XMLWriter out,
Collection source) |
static void |
write(fr.devinsy.util.xml.XMLWriter out,
Collections source) |
static void |
write(fr.devinsy.util.xml.XMLWriter out,
Contributor source) |
static void |
write(fr.devinsy.util.xml.XMLWriter out,
Contributors source) |
static void |
write(fr.devinsy.util.xml.XMLWriter out,
Dataset source) |
static void |
write(fr.devinsy.util.xml.XMLWriter out,
DatasetFile source) |
static void |
write(fr.devinsy.util.xml.XMLWriter out,
Datasets source) |
static void |
write(fr.devinsy.util.xml.XMLWriter out,
FormatIssue source) |
static void |
write(fr.devinsy.util.xml.XMLWriter out,
FormatIssues source) |
static void |
write(fr.devinsy.util.xml.XMLWriter out,
Kidarep source)
Writes a net in an stream.
|
static void |
write(fr.devinsy.util.xml.XMLWriter out,
LoadedFile source) |
static void |
write(fr.devinsy.util.xml.XMLWriter out,
LoadedFileHeader source) |
static void |
write(fr.devinsy.util.xml.XMLWriter out,
LoadedFileHeaders source) |
static void |
write(fr.devinsy.util.xml.XMLWriter out,
Statistics source)
Writes statistics in an stream.
|
public static Kidarep load(java.io.File file) throws java.lang.Exception
file
- java.lang.Exception
public static org.tip.puck.net.workers.AttributeFilter readAttributeFilter(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 readAttributeFilters(org.tip.puck.net.workers.AttributeFilters 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
org.apache.commons.codec.DecoderException
public static Collaborator readCollaborator(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 readCollaborators(Collaborators 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
org.apache.commons.codec.DecoderException
public static Collection readCollection(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
org.apache.commons.codec.DecoderException
java.lang.Exception
public static Collection readCollection(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 readCollections(Collections 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 Contributor readContributor(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
org.apache.commons.codec.DecoderException
public static void readContributors(Contributors 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
org.apache.commons.codec.DecoderException
public static Dataset readDataset(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
org.apache.commons.codec.DecoderException
java.lang.Exception
public static Dataset readDataset(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
org.apache.commons.codec.DecoderException
public static DatasetFile readDatasetFile(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
org.apache.commons.codec.DecoderException
public static void readDatasets(Datasets target, 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 void readDatasets(Datasets 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
org.apache.commons.codec.DecoderException
public static FormatIssue readFormatIssue(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
org.apache.commons.codec.DecoderException
java.lang.Exception
public static FormatIssue readFormatIssue(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
org.apache.commons.codec.DecoderException
public static void readFormatIssues(FormatIssues 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
org.apache.commons.codec.DecoderException
public static Kidarep readKidarep(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
org.apache.commons.codec.DecoderException
public static LoadedFile readLoadedFile(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
org.apache.commons.codec.DecoderException
public static LoadedFileHeader readLoadedFileHeader(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
org.apache.commons.codec.DecoderException
public static void readLoadedFileHeaders(LoadedFileHeaders 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
org.apache.commons.codec.DecoderException
public static void readStatistics(Statistics 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
org.apache.commons.codec.DecoderException
public static void save(java.io.File file, Kidarep source, java.lang.String generator) throws java.lang.Exception
file
- Target.source
- Source.java.lang.Exception
public static java.lang.String toXMLString(Collection source) throws java.io.UnsupportedEncodingException
source
- java.io.UnsupportedEncodingException
public static java.lang.String toXMLString(Dataset source) throws java.io.UnsupportedEncodingException
source
- java.io.UnsupportedEncodingException
public static java.lang.String toXMLString(FormatIssue source) throws java.io.UnsupportedEncodingException
source
- java.io.UnsupportedEncodingException
public static void write(fr.devinsy.util.xml.XMLWriter out, org.tip.puck.net.workers.AttributeFilter source)
source
- public static void write(fr.devinsy.util.xml.XMLWriter out, org.tip.puck.net.workers.AttributeFilters source)
source
- public static void write(fr.devinsy.util.xml.XMLWriter out, Collaborator source)
source
- public static void write(fr.devinsy.util.xml.XMLWriter out, Collaborators source)
source
- public static void write(fr.devinsy.util.xml.XMLWriter out, Collection source)
source
- public static void write(fr.devinsy.util.xml.XMLWriter out, Collections source)
source
- public static void write(fr.devinsy.util.xml.XMLWriter out, Contributor source)
source
- public static void write(fr.devinsy.util.xml.XMLWriter out, Contributors source)
source
- public static void write(fr.devinsy.util.xml.XMLWriter out, Dataset source)
source
- public static void write(fr.devinsy.util.xml.XMLWriter out, DatasetFile source)
source
- public static void write(fr.devinsy.util.xml.XMLWriter out, Datasets source)
source
- public static void write(fr.devinsy.util.xml.XMLWriter out, FormatIssue source)
source
- public static void write(fr.devinsy.util.xml.XMLWriter out, FormatIssues source)
source
- public static void write(fr.devinsy.util.xml.XMLWriter out, Kidarep source)
out
- Target.source
- Source.public static void write(fr.devinsy.util.xml.XMLWriter out, LoadedFile source)
source
- public static void write(fr.devinsy.util.xml.XMLWriter out, LoadedFileHeader source)
source
- public static void write(fr.devinsy.util.xml.XMLWriter out, LoadedFileHeaders source)
source
- public static void write(fr.devinsy.util.xml.XMLWriter out, Statistics source)
out
- Target.source
- Source.