|
Search this API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecty.io.gml.GMLTokenizer.EncoderCallback
public static final class GMLTokenizer.EncoderCallback
An implementation of the callback, which will call the appropriate methods on an encoder. Can be used for transcoding purposes
![]() |
![]() |
| Constructor Summary | |
|---|---|
GMLTokenizer.EncoderCallback(GMLEncoder enc)
constructs a new Transcoder |
|
| Method Summary | |
|---|---|
void |
attribute(java.lang.String key,
java.lang.Number value)
invoked when a numeric attribute was encountered |
void |
attribute(java.lang.String key,
java.lang.String value)
invoked when a string attributes was encountered |
void |
beginScope(java.lang.String scopeName)
called when a new gml scope begins '[' |
void |
endScope(java.lang.String scopeName)
called when a scope is left |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GMLTokenizer.EncoderCallback(GMLEncoder enc)
enc - the encoder| Method Detail |
|---|
public void beginScope(java.lang.String scopeName)
GMLTokenizer.Callback
beginScope in interface GMLTokenizer.CallbackscopeName - the name of the scopepublic void endScope(java.lang.String scopeName)
GMLTokenizer.Callback
endScope in interface GMLTokenizer.CallbackscopeName - the name of the scope which was left
public void attribute(java.lang.String key,
java.lang.String value)
GMLTokenizer.Callback
attribute in interface GMLTokenizer.Callbackkey - the key of the attribute value pairvalue - the string value
public void attribute(java.lang.String key,
java.lang.Number value)
GMLTokenizer.Callback
attribute in interface GMLTokenizer.Callbackkey - the key of the attribute value pairvalue - the numeric value
|
© Copyright 2000-2025, yWorks GmbH. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||