| java.lang.Object org.apache.batik.bridge.GVTBuilder
All known Subclasses: org.apache.batik.bridge.DynamicGVTBuilder,
GVTBuilder | public class GVTBuilder implements SVGConstants(Code) | | This class is responsible for creating a GVT tree using an SVG DOM tree.
author: Thierry Kormann version: $Id: GVTBuilder.java 475477 2006-11-15 22:44:28Z cam $ |
Constructor Summary | |
public | GVTBuilder() Constructs a new builder. |
GVTBuilder | public GVTBuilder()(Code) | | Constructs a new builder.
|
build | public GraphicsNode build(BridgeContext ctx, Document document)(Code) | | Builds using the specified bridge context the specified SVG document.
Parameters: ctx - the bridge context Parameters: document - the SVG document to build exception: BridgeException - if an error occured while constructingthe GVT tree |
build | public GraphicsNode build(BridgeContext ctx, Element e)(Code) | | Builds using the specified bridge context the specified Element.
Parameters: ctx - the bridge context Parameters: e - the element to build exception: BridgeException - if an error occured while constructingthe GVT tree |
buildComposite | protected void buildComposite(BridgeContext ctx, Element e, CompositeGraphicsNode parentNode)(Code) | | Builds a composite Element.
Parameters: ctx - the bridge context Parameters: e - the element to build Parameters: parentNode - the composite graphics node, parent of thegraphics node to build exception: BridgeException - if an error occured while constructingthe GVT tree |
buildGraphicsNode | protected void buildGraphicsNode(BridgeContext ctx, Element e, CompositeGraphicsNode parentNode)(Code) | | Builds a 'leaf' Element.
Parameters: ctx - the bridge context Parameters: e - the element to build Parameters: parentNode - the composite graphics node, parent of thegraphics node to build exception: BridgeException - if an error occured while constructingthe GVT tree |
handleGenericBridges | protected void handleGenericBridges(BridgeContext ctx, Element e)(Code) | | Handles any GenericBridge elements which are children of the
specified element.
Parameters: ctx - the bridge context Parameters: e - the element whose child elements should be handled |
|
|