| 
 | Search this API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface EdgeRealizerSerializer
Interface for serializing instances of EdgeRealizer.
| Method Summary | |
|---|---|
|  boolean | canHandle(EdgeRealizer er,
          GraphMLWriteContext context)Return whether this instance can serialize the EdgeRealizer erin the given context. | 
|  boolean | canHandle(org.w3c.dom.Node n,
          GraphMLParseContext context)Return whether this instance can deserialize the content of nin the given context. | 
|  EdgeRealizer | createRealizerInstance(org.w3c.dom.Node node,
                       GraphMLParseContext context)Create new instance of the Realizer from the given information | 
|  java.lang.String | getName()Returns the name of the XML element tag which denotes this type of realizer. | 
|  java.lang.String | getNamespacePrefix()Returns the namespace prefix of the toplevel element | 
|  java.lang.String | getNamespaceURI()Returns the target namespace of the toplevel element | 
|  java.lang.Class | getRealizerClass()Returns the class of which the realizer is an instance of. | 
|  void | parse(EdgeRealizer realizer,
      org.w3c.dom.Node node,
      GraphMLParseContext context)Parses the properties into an instance of EdgeRealizer. | 
|  void | write(EdgeRealizer realizer,
      XmlWriter writer,
      GraphMLWriteContext context)Writes the realizer element's content. | 
|  void | writeAttributes(EdgeRealizer realizer,
                XmlWriter writer,
                GraphMLWriteContext context)Writes the attributes of an EdgeRealizer element. | 
| Method Detail | 
|---|
java.lang.String getName()
java.lang.String getNamespaceURI()
java.lang.String getNamespacePrefix()
java.lang.Class getRealizerClass()
void parse(EdgeRealizer realizer,
           org.w3c.dom.Node node,
           GraphMLParseContext context)
           throws GraphMLParseException
EdgeRealizer.
realizer - An existing EdgeRealizer instance which is configured.node - The XML node containing the realizer data.context - The current parse context.
GraphMLParseException
void write(EdgeRealizer realizer,
           XmlWriter writer,
           GraphMLWriteContext context)
           throws GraphMLWriteException
realizer - The Realizer to write.writer - The XmlWriter for the serialization.context - The current write context.
GraphMLWriteException
void writeAttributes(EdgeRealizer realizer,
                     XmlWriter writer,
                     GraphMLWriteContext context)
realizer - The Realizer to write.writer - The XmlWriter for the serialization.context - The current write context.
boolean canHandle(EdgeRealizer er,
                  GraphMLWriteContext context)
er in the given context.
er - The realizer to writecontext - The current write context.
true iff this instance can serialize er in the context of context
boolean canHandle(org.w3c.dom.Node n,
                  GraphMLParseContext context)
n in the given context.
n - The DOM node that represents the realizer data.context - The current parse context.
true iff this instance can deserialize n in the context of context
EdgeRealizer createRealizerInstance(org.w3c.dom.Node node,
                                    GraphMLParseContext context)
                                    throws DeserializationNotSupportedException,
                                           GraphMLParseException
node - The DOM node that represents the realizer data.context - The current parse context.
DeserializationNotSupportedException
GraphMLParseException| 
 | © Copyright 2000-2025, yWorks GmbH. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||