com.davisor.graphics.chart
Class ChartXMLAttributesFactory

java.lang.Object
  extended bycom.davisor.graphics.chart.ChartXMLAttributesFactory
All Implemented Interfaces:
com.davisor.xml.sax.DocumentHandlerFactory

public class ChartXMLAttributesFactory
extends java.lang.Object
implements com.davisor.xml.sax.DocumentHandlerFactory

ChartXMLAttributesFactory builds DocumentHandlers for ChartXMLDocumentHandler that construct ChartXMLAttributes.

See Also:
ChartXMLDocumentHandler, ChartXMLAttributes

Field Summary
protected  java.net.URL context
          URL context for ChartXMLDataBuffers.
 
Constructor Summary
protected ChartXMLAttributesFactory()
          Constructs a new ChartXMLAttributesFactory.
 
Method Summary
 org.xml.sax.ContentHandler createContentHandler()
          Returns a new ChartXMLAttributes object.
 org.xml.sax.DocumentHandler createDocumentHandler()
          Returns a new ChartXMLAttributes object.
static ChartXMLAttributesFactory createInstance()
          Creates new instance of this object.
 void setUrlContext(java.net.URL context)
          Deprecated. replaced with setURLContext
 void setURLContext(java.net.URL context)
          Sets the URL context for this factory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

context

protected java.net.URL context
URL context for ChartXMLDataBuffers.

Constructor Detail

ChartXMLAttributesFactory

protected ChartXMLAttributesFactory()
Constructs a new ChartXMLAttributesFactory.

Method Detail

setUrlContext

public void setUrlContext(java.net.URL context)
Deprecated. replaced with setURLContext

Sets the URL context for this factory. The URL context is used for loading images and textures.

See Also:
setURLContext(java.net.URL)

setURLContext

public void setURLContext(java.net.URL context)
Sets the URL context for this factory. The URL context is used for loading images and textures.


createInstance

public static ChartXMLAttributesFactory createInstance()
Creates new instance of this object.


createContentHandler

public org.xml.sax.ContentHandler createContentHandler()
Returns a new ChartXMLAttributes object. Called object's context is copied to the returned object.

Specified by:
createContentHandler in interface com.davisor.xml.sax.DocumentHandlerFactory

createDocumentHandler

public org.xml.sax.DocumentHandler createDocumentHandler()
Returns a new ChartXMLAttributes object. Called object's context is copied to the returned object.

Specified by:
createDocumentHandler in interface com.davisor.xml.sax.DocumentHandlerFactory


Copyright © 2001-2004 Davisor Oy. All Rights Reserved.