|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--y.io.gml.ItemParser | +--y.io.gml.NodeGraphicsParser
This class will parse the nodegraphics section from a valid GML file and create appropriate NodeRealizers
Field Summary |
Fields inherited from class y.io.gml.ItemParser |
attributes, childMap, delegate, level |
Constructor Summary | |
NodeGraphicsParser(URL contextURL)
|
Method Summary | |
void |
begin()
this method will be called as soon as the parser enters the scope. |
void |
end()
this method will be called as soon as the parser leaves the scope. |
Object |
getItem()
Returns the "product" of this scope. |
NodeRealizer |
getNodeRealizer()
|
static byte |
getShape(String name)
|
protected URL |
getURL(String resource,
URL contextURL)
|
Methods inherited from class y.io.gml.ItemParser |
addAttribute, addChild, attribute, attribute, beginScope, childFinished, endScope, getAttributes, getBoolean, getDouble, getDouble, getInt, getInt, getLevel, getString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NodeGraphicsParser(URL contextURL)
Method Detail |
public void begin()
ItemParser
begin
in class ItemParser
public void end()
ItemParser
end
in class ItemParser
protected URL getURL(String resource, URL contextURL)
public NodeRealizer getNodeRealizer()
public Object getItem()
ItemParser
ItemParser.end()
has been called. The latter should construct
the resulting item from the collected data and this item
should be returned by this method. By default, this method
return the map of the attributes.
getItem
in class ItemParser
Map
public static byte getShape(String name)
|
© Copyright 2000-2003, yWorks GmbH. All rights reserved. 2003 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |