Package | Description |
---|---|
com.yworks.yfiles.graphml |
Definitions, default implementations, and support classes for GraphML I/O support.
|
Modifier and Type | Class and Description |
---|---|
class |
XmlWriter
Implementation of
IXmlWriter that writes directly to an output stream. |
Modifier and Type | Method and Description |
---|---|
protected IXmlWriter |
GraphMLIOHandler.createXMLWriter(OutputStream os,
Charset encoding)
Factory method that creates and configures a suitable
IXmlWriter implementation that can write the graph to the
given InputStream with the given settings. |
protected IXmlWriter |
GraphMLIOHandler.createXMLWriter(Writer os)
Factory method that creates and configures a suitable
IXmlWriter implementation that can write the graph to the
given Writer with the given settings. |
IXmlWriter |
IWriteContext.getWriter()
Returns the current
IXmlWriter implementation. |
IXmlWriter |
HandleSerializationEventArgs.getWriter()
Gets the writer for writing the xml output.
|
IXmlWriter |
ChildWriteContext.getWriter()
Gets the writer.
|
default IXmlWriter |
IXmlWriter.writeAttribute(GraphMLXmlAttribute attribute)
Write an XML attribute from the given
attribute struct. |
default IXmlWriter |
IXmlWriter.writeAttribute(String localName,
String value)
Write an XML attribute with the given parameters.
|
IXmlWriter |
XmlWriter.writeAttribute(String prefix,
String localName,
String ns,
String value) |
IXmlWriter |
IXmlWriter.writeAttribute(String prefix,
String localName,
String ns,
String value)
Write a XML attribute node.
|
IXmlWriter |
XmlWriter.writeCData(String content) |
IXmlWriter |
IXmlWriter.writeCData(String content)
Write a CDATA section.
|
IXmlWriter |
XmlWriter.writeComment(String comment) |
IXmlWriter |
IXmlWriter.writeComment(String comment)
Write a XML comment node.
|
IXmlWriter |
XmlWriter.writeDocumentFragment(Document fragment) |
IXmlWriter |
IXmlWriter.writeDocumentFragment(Document fragment)
Write a document fragment.
|
IXmlWriter |
XmlWriter.writeEndElement() |
IXmlWriter |
IXmlWriter.writeEndElement()
Close a XML element previously opened with
writeStartElement(String, String) or
writeStartElement(String, String, String) . |
IXmlWriter |
XmlWriter.writeProcessingInstruction(String target,
String data) |
IXmlWriter |
IXmlWriter.writeProcessingInstruction(String target,
String data)
Write a xml processing instruction.
|
IXmlWriter |
XmlWriter.writeStartDocument() |
IXmlWriter |
IXmlWriter.writeStartDocument()
Begin the output process.
|
IXmlWriter |
XmlWriter.writeStartElement(String localName,
String ns) |
IXmlWriter |
IXmlWriter.writeStartElement(String localName,
String ns)
Begin a new XML element with given parameters.
|
IXmlWriter |
XmlWriter.writeStartElement(String prefix,
String s,
String ns) |
IXmlWriter |
IXmlWriter.writeStartElement(String prefix,
String localName,
String ns)
Begin a new XML element with given parameters.
|
IXmlWriter |
XmlWriter.writeString(String s) |
IXmlWriter |
IXmlWriter.writeString(String s)
Write a text node.
|
Modifier and Type | Method and Description |
---|---|
protected void |
GraphMLIOHandler.configureXMLWriter(IXmlWriter writer)
Configure
writer . |
protected IWriteContext |
GraphMLWriter.createWriteContext(IGraph graph,
IXmlWriter writer)
Create the initial
IWriteContext instance. |
void |
ChildWriteContext.setWriter(IXmlWriter value)
Sets the writer.
|
void |
GraphMLWriter.write(IGraph graph,
IXmlWriter writer)
Write the GraphML representation of
graph , using writer for the actual XML generation. |