org.apache.batik.dom.svg12

Class SVG12DOMImplementation

public class SVG12DOMImplementation extends SVGDOMImplementation

This class implements the {@link DOMImplementation} interface. It provides support the SVG 1.2 documents.
Nested Class Summary
protected static classSVG12DOMImplementation.FlowDivElementFactory
To create a 'flowDiv' element.
protected static classSVG12DOMImplementation.FlowLineElementFactory
To create a 'flowLine' element.
protected static classSVG12DOMImplementation.FlowParaElementFactory
To create a 'flowPara' element.
protected static classSVG12DOMImplementation.FlowRegionBreakElementFactory
To create a 'flowRegionBreak' element.
protected static classSVG12DOMImplementation.FlowRegionElementFactory
To create a 'flowRegion' element.
protected static classSVG12DOMImplementation.FlowRegionExcludeElementFactory
To create a 'flowRegion' element.
protected static classSVG12DOMImplementation.FlowRootElementFactory
To create a 'flowRoot' element.
protected static classSVG12DOMImplementation.FlowSpanElementFactory
To create a 'flowSpan' element.
protected static classSVG12DOMImplementation.HandlerElementFactory
To create a 'handler' element.
protected static classSVG12DOMImplementation.MultiImageElementFactory
To create a 'multiImage' element.
protected static classSVG12DOMImplementation.SolidColorElementFactory
To create a 'solidColor' element.
protected static classSVG12DOMImplementation.SubImageElementFactory
To create a 'subImage' element.
protected static classSVG12DOMImplementation.SubImageRefElementFactory
To create a 'SubImageRef' element.
protected static classSVG12DOMImplementation.XBLContentElementFactory
To create a 'xbl:content' element.
protected static classSVG12DOMImplementation.XBLDefinitionElementFactory
To create a 'xbl:definition' element.
protected static classSVG12DOMImplementation.XBLHandlerGroupElementFactory
To create a 'xbl:handlerGroup' element.
protected static classSVG12DOMImplementation.XBLImportElementFactory
To create a 'xbl:import' element.
protected static classSVG12DOMImplementation.XBLShadowTreeElementFactory
To create a 'xbl:shadowTree' element.
protected static classSVG12DOMImplementation.XBLTemplateElementFactory
To create a 'xbl:template' element.
protected static classSVG12DOMImplementation.XBLXBLElementFactory
To create a 'xbl:xbl' element.
Field Summary
protected static DOMImplementationDOM_IMPLEMENTATION
The default instance of this class.
protected static HashTablesvg12Factories
The SVG element factories.
protected static HashTablexblFactories
The XBL element factories.
Constructor Summary
SVG12DOMImplementation()
Creates a new SVGDOMImplementation object.
Method Summary
CSSEnginecreateCSSEngine(AbstractStylableDocument doc, CSSContext ctx, ExtendedParser ep, ValueManager[] vms, ShorthandManager[] sms)
DocumentcreateDocument(String namespaceURI, String qualifiedName, DocumentType doctype)
DOM: Implements {@link DOMImplementation#createDocument(String,String,DocumentType)}.
DocumentEventSupportcreateDocumentEventSupport()
Creates an DocumentEventSupport object suitable for use with this implementation.
ElementcreateElementNS(AbstractDocument document, String namespaceURI, String qualifiedName)
Implements the behavior of Document.createElementNS() for this DOM implementation.
EventSupportcreateEventSupport(AbstractNode n)
Creates an EventSupport object for the given node.
static DOMImplementationgetDOMImplementation()
Returns the default instance of this class.

Field Detail

DOM_IMPLEMENTATION

protected static final DOMImplementation DOM_IMPLEMENTATION
The default instance of this class.

svg12Factories

protected static HashTable svg12Factories
The SVG element factories.

xblFactories

protected static HashTable xblFactories
The XBL element factories.

Constructor Detail

SVG12DOMImplementation

public SVG12DOMImplementation()
Creates a new SVGDOMImplementation object.

Method Detail

createCSSEngine

public CSSEngine createCSSEngine(AbstractStylableDocument doc, CSSContext ctx, ExtendedParser ep, ValueManager[] vms, ShorthandManager[] sms)

createDocument

public Document createDocument(String namespaceURI, String qualifiedName, DocumentType doctype)
DOM: Implements {@link DOMImplementation#createDocument(String,String,DocumentType)}.

createDocumentEventSupport

public DocumentEventSupport createDocumentEventSupport()
Creates an DocumentEventSupport object suitable for use with this implementation.

createElementNS

public Element createElementNS(AbstractDocument document, String namespaceURI, String qualifiedName)
Implements the behavior of Document.createElementNS() for this DOM implementation.

createEventSupport

public EventSupport createEventSupport(AbstractNode n)
Creates an EventSupport object for the given node.

getDOMImplementation

public static DOMImplementation getDOMImplementation()
Returns the default instance of this class.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.