wt.query.template
Class MetaDataSAXSource

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

public class MetaDataSAXSource
extends Object
implements SAXXMLSource, Serializable



Supported API: true

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
private static String DESCRIPTION
           
private static AttributeListImpl EMPTY_ATTRIBUTE_LIST
           
private static String EXECUTING_PRINCIPAL
           
private static String FULL_NAME
           
private static String LOCALE
           
private static String METADATA
           
private static String NAME
           
private static String OBJECT_IDENTIFIER
           
private static String RESOURCE
           
private static String SOURCE_GATEWAY
           
private static String SOURCE_SYSTEM
           
private  Locale theLocale
           
private  ReportTemplate theReportTemplate
           
private  WTPrincipal theUser
           
private static String TIME_OF_EXECUTION
           
 
Constructor Summary
MetaDataSAXSource(ReportTemplate report_template, Locale locale, WTPrincipal user)
          

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

theLocale

private Locale theLocale

theUser

private WTPrincipal theUser

theReportTemplate

private ReportTemplate theReportTemplate

METADATA

private static final String METADATA
See Also:
Constant Field Values

SOURCE_SYSTEM

private static final String SOURCE_SYSTEM
See Also:
Constant Field Values

EXECUTING_PRINCIPAL

private static final String EXECUTING_PRINCIPAL
See Also:
Constant Field Values

FULL_NAME

private static final String FULL_NAME
See Also:
Constant Field Values

OBJECT_IDENTIFIER

private static final String OBJECT_IDENTIFIER
See Also:
Constant Field Values

NAME

private static final String NAME
See Also:
Constant Field Values

DESCRIPTION

private static final String DESCRIPTION
See Also:
Constant Field Values

TIME_OF_EXECUTION

private static final String TIME_OF_EXECUTION
See Also:
Constant Field Values

LOCALE

private static final String LOCALE
See Also:
Constant Field Values

SOURCE_GATEWAY

private static final String SOURCE_GATEWAY
See Also:
Constant Field Values

EMPTY_ATTRIBUTE_LIST

private static final AttributeListImpl EMPTY_ATTRIBUTE_LIST
Constructor Detail

MetaDataSAXSource

public MetaDataSAXSource(ReportTemplate report_template,
                         Locale locale,
                         WTPrincipal user)
                  throws WTPropertyVetoException


Supported API: false

Parameters:
report_template -
locale -
user -
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