oss.net.pstream.sax
Class UservarElement

java.lang.Object
  |
  +--oss.net.pstream.sax.ElementHandler
        |
        +--oss.net.pstream.sax.UservarElement

public class UservarElement
extends ElementHandler

Author:
mgregory To change this generated comment edit the template variable "typecomment": Window>Preferences>Java>Templates. To enable and disable the creation of type comments go to Window>Preferences>Java>Code Generation.

Field Summary
 
Fields inherited from class oss.net.pstream.sax.ElementHandler
action_attr, authenticate_element, debug_attr, fcookie_element, fhost_element, flags_attr, forward_params_element, host_element, href_attr, jndi_resource_element, name_attr, password_attr, path_attr, pattern_element, port_attr, portlet_element, protocol_attr, protocol_element, pstream_element, rewrite_condition_element, rewrite_element, rewrite_rule_element, session_params_element, sparam_element, src_attr, substitution_element, target_attr, target_element, target_host_element, type_attr, url_attr, use_attr, use_httpclientra_attr, username_attr, uservar_element, usetemplate_attr, value_attr
 
Constructor Summary
UservarElement(boolean Debug)
           
 
Method Summary
 java.lang.String getName()
          Returns the name of the element this Handler handles.
 PortletStreamParameters handleElementEnd(java.lang.StringBuffer content, PortletStreamParametersMap Params, java.lang.String PortletName)
          Handles the end of an element (ending editing of an element for instance).
 PortletStreamParameters handleElementStart(PortletStreamParametersMap Params, java.lang.String PortletName, org.xml.sax.Attributes Attrs)
          Handles the start of an element (setting params and stuff).
 
Methods inherited from class oss.net.pstream.sax.ElementHandler
AttributeException, debug, debug
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UservarElement

public UservarElement(boolean Debug)
Method Detail

getName

public java.lang.String getName()
Description copied from class: ElementHandler
Returns the name of the element this Handler handles.

Specified by:
getName in class ElementHandler
Returns:
A static String.
See Also:
ElementHandler.getName()

handleElementStart

public PortletStreamParameters handleElementStart(PortletStreamParametersMap Params,
                                                  java.lang.String PortletName,
                                                  org.xml.sax.Attributes Attrs)
                                           throws org.xml.sax.SAXException
Description copied from class: ElementHandler
Handles the start of an element (setting params and stuff).

Specified by:
handleElementStart in class ElementHandler
Parameters:
Attrs - the SAX Attributes of the element.
Returns:
a PortletStreamParameters which may or may not be the same one passed into the function. If this happens to be the start of a new tag then a new PortletStreamParameters is created and returned. In that case, the new Parameter should be saved to the array.
Throws:
org.xml.sax.SAXException - If you screw up.
See Also:
ElementHandler.handleElementStart(PortletStreamParametersMap, String, Attributes)

handleElementEnd

public PortletStreamParameters handleElementEnd(java.lang.StringBuffer content,
                                                PortletStreamParametersMap Params,
                                                java.lang.String PortletName)
                                         throws org.xml.sax.SAXException
Description copied from class: ElementHandler
Handles the end of an element (ending editing of an element for instance). Also manages any content found since the end of the startelement tag.

Specified by:
handleElementEnd in class ElementHandler
Parameters:
content - A StringBuffer of all data found since the handleElementStart tag was called.
Params - The parameters of the current PortletStream.
Returns:
A PortletStreamParameters which may or may not be the same one passed to the function.
Throws:
org.xml.sax.SAXException - if you screw up.
See Also:
ElementHandler.handleElementEnd(StringBuffer, PortletStreamParametersMap, String)


Copyright © 2000 Dummy Corp. All Rights Reserved.