|
Search this API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecty.io.gml.NodeRealizerObjectEncoder
public class NodeRealizerObjectEncoder
This class can encode NodeRealizers in valid GML

| Constructor Summary | |
|---|---|
NodeRealizerObjectEncoder()
|
|
| Method Summary | |
|---|---|
void |
encode(java.lang.Object item,
GMLEncoder enc)
This method will try to encode the given object using the GMLEncoder |
static java.lang.String |
encodeShape(byte shapeType)
Encodes a ShapeNodeRealizer shape constant to a GML value. |
protected java.lang.String |
encodeType(java.lang.String qualifiedName)
Returns the external form of the given qualified class name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NodeRealizerObjectEncoder()
| Method Detail |
|---|
public void encode(java.lang.Object item,
GMLEncoder enc)
throws java.io.IOException
ObjectEncoder
encode in interface ObjectEncoderitem - the object to be encodedenc - an encoder
java.io.IOException - in the case of an I/O exceptionprotected java.lang.String encodeType(java.lang.String qualifiedName)
By default, this method delegates to YGFIOHandler.encode(String).
Note: To prevent obfuscation from breaking user data and style property serialization, an explicit class name encoding should be specified for user data types and style property value types.
YGFIOHandler.addEncoding(String, String),
NodeGraphicsParser.decodeType(String)public static java.lang.String encodeShape(byte shapeType)
|
© Copyright 2000-2025, yWorks GmbH. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||