|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface GraphWriter
| Method Summary | |
|---|---|
Map<String,URI> |
getNamespaces()
Gets a mapping of prefixes to their namespaces. |
void |
resetNamespaces()
Clears out the prefix/namespace set. |
void |
scanNamespaces()
Scans the URIs in the graph to find all the namespaces. |
void |
setNamespaces(Map<String,URI> ns)
Registers a set of prefix/namespace pairs to use when writing the graph. |
void |
setNamespacesByString(Map<String,String> ns)
Registers a set of prefix/namespace pairs to use when writing the graph. |
void |
writeTo(OutputStream out)
Writes the graph to a stream. |
| Method Detail |
|---|
void setNamespaces(Map<String,URI> ns)
ns - A map of prefix strings to namespace URIs.
void setNamespacesByString(Map<String,String> ns)
throws URISyntaxException
ns - A map of prefix strings to namespace strings.
URISyntaxException - If one or more of the namespaces is not a valid URI.void resetNamespaces()
void scanNamespaces()
Map<String,URI> getNamespaces()
void writeTo(OutputStream out)
throws IOException
out - The stream to write the graph to.
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||