TPTP 4.5.0 Platform Project
Internal API Specification

org.eclipse.tptp.platform.report.core.internal
Class XMLGraphicReader

java.lang.Object
  extended by org.eclipse.tptp.platform.report.extension.internal.DExtensible
      extended by org.eclipse.tptp.platform.report.tools.internal.DParser
          extended by org.eclipse.tptp.platform.report.drivers.xml.internal.DXmlDocumentReader
              extended by org.eclipse.tptp.platform.report.core.internal.XMLGraphicReader
All Implemented Interfaces:
IDocumentReader, IReader

Deprecated. As of TPTP 4.5.0, use the TPTP Business Intelligence and Reporting Tools (BIRT) reporting infrastructure (org.eclipse.tptp.platform.report.birt).

public class XMLGraphicReader
extends DXmlDocumentReader
implements IDocumentReader

XMLGraphicReader is a concrete class that will take in an xml document that represents a chart and create an object model. The xml document is provided via an input stream.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.tptp.platform.report.drivers.xml.internal.DXmlDocumentReader
DXmlDocumentReader.Arg
 
Nested classes/interfaces inherited from class org.eclipse.tptp.platform.report.tools.internal.DParser
DParser.ParserException
 
Nested classes/interfaces inherited from class org.eclipse.tptp.platform.report.extension.internal.DExtensible
DExtensible.InvokeMethod
 
Field Summary
protected  IDObject[] documents
          Deprecated.  
protected  IDObject[] idObjects
          Deprecated.  
protected  IDObject[] styles
          Deprecated.  
 
Fields inherited from class org.eclipse.tptp.platform.report.extension.internal.DExtensible
mapMethod, paramTab
 
Constructor Summary
XMLGraphicReader()
          Deprecated.  
XMLGraphicReader(IXmlParser parser)
          Deprecated.  
 
Method Summary
 IDObject[] getDocuments()
          Deprecated. Get a list of document objects that were read in.
 IDObject[] getStyles()
          Deprecated. Get a list of style objects that were read in.
 IDObject[] read(org.w3c.dom.Document in)
          Deprecated. reads a document directly form a DOM
 IDObject[] read(java.io.InputStream in)
          Deprecated. Parse input stream building one or more documents updating colors,fonts and styles registry (@see getStyleRegistry()).
 
Methods inherited from class org.eclipse.tptp.platform.report.drivers.xml.internal.DXmlDocumentReader
clear, createFromClass, createIDItemForNode, createObjectForClassName, decode, DecodeColor, doChildrenItem, doMethod, doMethod, doMethod, doMethod, doMethod, doMethod, doMethod, doMethod, doMethod, doMethod, doMethod, doMethod, doMethod, doMethod, getColorRegistry, getFontRegistry, getNodeText, getRequiredAttribut, getStyleRegistry, parseAxes, parseCategories, parseChartTitle, parseCurves, parseLabelFormat, parseLegend, parseMajorUnit, parseMinorUnit, parsePlotArea, read, readDOM, readDOM, setColorRegistry, setFontRegistry, setStyleRegistry, updateExtension
 
Methods inherited from class org.eclipse.tptp.platform.report.tools.internal.DParser
doMethod, doMethod, doMethod, getListLevel, getTitleLevel
 
Methods inherited from class org.eclipse.tptp.platform.report.extension.internal.DExtensible
doMethod, getDoMethod, installDoMethod, installDoMethods, installDoMethods, invokeDoMethod, invokeSuperDoMethod, removeDoMethod, removeDoMethod, removeDoMethods, removeDoMethods, resolveDoMethod
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

idObjects

protected IDObject[] idObjects
Deprecated. 

documents

protected IDObject[] documents
Deprecated. 

styles

protected IDObject[] styles
Deprecated. 
Constructor Detail

XMLGraphicReader

public XMLGraphicReader()
Deprecated. 

XMLGraphicReader

public XMLGraphicReader(IXmlParser parser)
Deprecated. 
Parameters:
parser -
Method Detail

read

public IDObject[] read(org.w3c.dom.Document in)
Deprecated. 
Description copied from class: DXmlDocumentReader
reads a document directly form a DOM

Specified by:
read in interface IDocumentReader
Overrides:
read in class DXmlDocumentReader

read

public IDObject[] read(java.io.InputStream in)
Deprecated. 
Description copied from class: DXmlDocumentReader
Parse input stream building one or more documents updating colors,fonts and styles registry (@see getStyleRegistry()).

Specified by:
read in interface IDocumentReader
Specified by:
read in interface IReader
Overrides:
read in class DXmlDocumentReader
Parameters:
in - input stream to use for xml input.
Returns:
one or mode DDocument in an array (can be null).

getDocuments

public IDObject[] getDocuments()
Deprecated. 
Description copied from interface: IDocumentReader
Get a list of document objects that were read in.

Specified by:
getDocuments in interface IDocumentReader
Overrides:
getDocuments in class DXmlDocumentReader
See Also:
org.eclipse.tptp.platform.report.core.IDocumentReader#getDocuments()

getStyles

public IDObject[] getStyles()
Deprecated. 
Description copied from interface: IDocumentReader
Get a list of style objects that were read in.

Specified by:
getStyles in interface IDocumentReader
Overrides:
getStyles in class DXmlDocumentReader
See Also:
org.eclipse.tptp.platform.report.core.IDocumentReader#getStyles()

TPTP 4.5.0 Platform Project
Internal API Specification