|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
ObjectInputCodec
MrsXmlInputCodec
public class MrsXmlInputCodec
| Constructor Summary | |
|---|---|
MrsXmlInputCodec(Normalisation normalisation)
|
|
| Method Summary | |
|---|---|
void |
decode(Reader inputStream,
DomGraph graph,
NodeLabels labels)
Reads an USR representation from a Reader. |
| Methods inherited from class InputCodec |
|---|
getReaderForSpecification |
| Methods inherited from class Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MrsXmlInputCodec(Normalisation normalisation)
| Method Detail |
|---|
public void decode(Reader inputStream,
DomGraph graph,
NodeLabels labels)
throws MalformedDomgraphException,
IOException,
ParserException
InputCodecReader. This method
converts the USR into an equivalent labelled dominance graph and
stores this graph in a DomGraph and the labels in
a NodeLabels object. You must implement this
method in every concrete input codec.The graph and labels objects passed to this method need not be empty; it is the responsibility of this method to clear them first.
decode in class InputCodecinputStream - the reader from which the USR is readgraph - the dominance graph into which the USR is convertedlabels - the node labels of the labelled dominance graph
MalformedDomgraphException - if a semantic error occurred, i.e. the USR
cannot be converted into a dominance graph
IOException - if an I/O error occurred while reading from reader
ParserException - if a syntactic error occurred while parsing the USR
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||