wt.query.template
Class CompositeSAXSource

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

public class CompositeSAXSource
extends Object
implements SAXXMLSource, Serializable



Supported API: true

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
private  Vector components
           
private static AttributeListImpl EMPTY_ATTRIBUTE_LIST
           
private static String RESOURCE
           
private  String rootTag
           
private  boolean standAlone
           
 
Constructor Summary
CompositeSAXSource(String a_rootTag)
          

Supported API: false
 
Method Summary
 void addComponent(SAXXMLSource a_saxSource)
          

Supported API: false
 String getBaseURI()
          The URI describing the location of the XML data, up to, but not including the file part of the URI.
 Vector getComponents()
          Gets the object for the association that plays role: components.
 String getRootTag()
          Gets the value of the attribute: rootTag.
 boolean isStandAlone()
          Gets the value of the attribute: standAlone; Indicates if this is a standalone document.
 void produceEvents(DocumentHandler listener)
          Deprecated.  
private  void rootTagValidate(String a_RootTag)
           
 void setComponents(Vector a_Components)
          Sets the object for the association that plays role: components.
 void setRootTag(String a_RootTag)
          Sets the value of the attribute: rootTag.
 void setStandAlone(boolean a_StandAlone)
          Sets the value of the attribute: standAlone; Indicates if this is a standalone document.
 
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

standAlone

private boolean standAlone

rootTag

private String rootTag

components

private Vector components

EMPTY_ATTRIBUTE_LIST

private static final AttributeListImpl EMPTY_ATTRIBUTE_LIST
Constructor Detail

CompositeSAXSource

public CompositeSAXSource(String a_rootTag)
                   throws WTPropertyVetoException


Supported API: false

Parameters:
a_rootTag -
Throws:
WTPropertyVetoException
Method Detail

isStandAlone

public boolean isStandAlone()
Gets the value of the attribute: standAlone; Indicates if this is a standalone document.

Supported API: false

Returns:
boolean

setStandAlone

public void setStandAlone(boolean a_StandAlone)
Sets the value of the attribute: standAlone; Indicates if this is a standalone document.

Supported API: false

Parameters:
a_StandAlone -

getRootTag

public String getRootTag()
Gets the value of the attribute: rootTag.

Supported API: false

Returns:
String

setRootTag

public void setRootTag(String a_RootTag)
                throws WTPropertyVetoException
Sets the value of the attribute: rootTag.

Supported API: false

Parameters:
a_RootTag -
Throws:
WTPropertyVetoException

rootTagValidate

private void rootTagValidate(String a_RootTag)
                      throws WTPropertyVetoException
Parameters:
a_RootTag -
Throws:
WTPropertyVetoException

getComponents

public Vector getComponents()
Gets the object for the association that plays role: components.

Supported API: false

Returns:
Vector

setComponents

public void setComponents(Vector a_Components)
                   throws WTPropertyVetoException
Sets the object for the association that plays role: components.

Supported API: false

Parameters:
a_Components -
Throws:
WTPropertyVetoException

addComponent

public void addComponent(SAXXMLSource a_saxSource)


Supported API: false

Parameters:
a_saxSource -

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