wt.query.template
Class ParameterDataSAXSource

java.lang.Object
  extended bywt.query.template.ParameterDataSAXSource
All Implemented Interfaces:
SAXXMLSource, Serializable, XMLSource

public class ParameterDataSAXSource
extends Object
implements SAXXMLSource, Serializable



Supported API: true

Extendable: false

See Also:
Serialized Form

Field Summary
private static String ACTUAL_PARAMETER
           
private static String CDATA
           
private static String CLASSNAME
           
private static String DISPLAY_NAME
           
private static AttributeListImpl EMPTY_ATTRIBUTE_LIST
           
private  Hashtable enumTypes
           
private static String PARAMETER_ID
           
private  Hashtable params
           
private static String RESOURCE
           
private  Locale theLocale
           
private  ReportTemplate theReportTemplate
           
 
Constructor Summary
ParameterDataSAXSource(ReportTemplate report_template, Hashtable inputs, Locale locale)
          

Supported API: false
 
Method Summary
private  void generateStringEvent(DocumentHandler listener, String a_value)
           
 String getBaseURI()
          The URI describing the location of the XML data, up to, but not including the file part of the URI.
 ReportTemplate getReportTemplate()
          Gets the object for the association that plays role: theReportTemplate.
 void produceEvents(DocumentHandler listener)
          Deprecated.  
 void setReportTemplate(ReportTemplate a_ReportTemplate)
          Sets the object for the association that plays role: theReportTemplate.
private  void theReportTemplateValidate(ReportTemplate a_ReportTemplate)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

params

private Hashtable params

theLocale

private Locale theLocale

enumTypes

private Hashtable enumTypes

theReportTemplate

private ReportTemplate theReportTemplate

ACTUAL_PARAMETER

private static final String ACTUAL_PARAMETER
See Also:
Constant Field Values

CDATA

private static final String CDATA
See Also:
Constant Field Values

PARAMETER_ID

private static final String PARAMETER_ID
See Also:
Constant Field Values

DISPLAY_NAME

private static final String DISPLAY_NAME
See Also:
Constant Field Values

EMPTY_ATTRIBUTE_LIST

private static final AttributeListImpl EMPTY_ATTRIBUTE_LIST
Constructor Detail

ParameterDataSAXSource

public ParameterDataSAXSource(ReportTemplate report_template,
                              Hashtable inputs,
                              Locale locale)
                       throws WTPropertyVetoException


Supported API: false

Parameters:
report_template -
inputs -
locale -
Throws:
WTPropertyVetoException
Method Detail

getReportTemplate

public ReportTemplate getReportTemplate()
Gets the object for the association that plays role: theReportTemplate.

Supported API: false

Returns:
ReportTemplate

setReportTemplate

public void setReportTemplate(ReportTemplate a_ReportTemplate)
                       throws WTPropertyVetoException
Sets the object for the association that plays role: theReportTemplate.

Supported API: false

Parameters:
a_ReportTemplate -
Throws:
WTPropertyVetoException

theReportTemplateValidate

private void theReportTemplateValidate(ReportTemplate a_ReportTemplate)
                                throws WTPropertyVetoException
Parameters:
a_ReportTemplate -
Throws:
WTPropertyVetoException

produceEvents

public void produceEvents(DocumentHandler listener)
                   throws SAXException
Deprecated.  

Produce the SAX events for the XML source data calling the appropriate handler methods on the provided DocumentHandler instance.

Supported API: false

Specified by:
produceEvents in interface SAXXMLSource
Parameters:
listener - The handler that will "receive" the SAX events as method calls.
Throws:
SAXException

getBaseURI

public String getBaseURI()
The URI describing the location of the XML data, up to, but not including the file part of the URI. For example, the base URI for data sourced at http://www.acme.com/documents/Document1.xml would be http://www.acme.com/documents.

Supported API: true

Specified by:
getBaseURI in interface XMLSource
Returns:
String

generateStringEvent

private void generateStringEvent(DocumentHandler listener,
                                 String a_value)
                          throws SAXException
Throws:
SAXException