org.apache.jetspeed.portlets.rpad.simple
Class SimpleConfigHandler

java.lang.Object
  extended by org.xml.sax.helpers.DefaultHandler
      extended by org.apache.jetspeed.portlets.rpad.simple.SimpleConfigHandler
All Implemented Interfaces:
ContentHandler, DTDHandler, EntityResolver, ErrorHandler

public class SimpleConfigHandler
extends DefaultHandler


Field Summary
private  PortletApplication portletApplication
           
private  List portletApplications
           
private  List qNameList
           
 
Constructor Summary
SimpleConfigHandler()
           
 
Method Summary
 void characters(char[] ch, int start, int length)
           
 void endElement(String uri, String localName, String qName)
           
private  Locale getLocaleFromString(String localeString)
           
 List getPortletApplications()
           
 void setPortletApplications(List portletApplications)
           
 void startElement(String uri, String localName, String qName, Attributes attributes)
           
 
Methods inherited from class org.xml.sax.helpers.DefaultHandler
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

portletApplications

private List portletApplications

portletApplication

private PortletApplication portletApplication

qNameList

private List qNameList
Constructor Detail

SimpleConfigHandler

public SimpleConfigHandler()
Method Detail

startElement

public void startElement(String uri,
                         String localName,
                         String qName,
                         Attributes attributes)
Specified by:
startElement in interface ContentHandler
Overrides:
startElement in class DefaultHandler

characters

public void characters(char[] ch,
                       int start,
                       int length)
Specified by:
characters in interface ContentHandler
Overrides:
characters in class DefaultHandler

getLocaleFromString

private Locale getLocaleFromString(String localeString)

endElement

public void endElement(String uri,
                       String localName,
                       String qName)
Specified by:
endElement in interface ContentHandler
Overrides:
endElement in class DefaultHandler

getPortletApplications

public List getPortletApplications()
Returns:
the portletApplications

setPortletApplications

public void setPortletApplications(List portletApplications)
Parameters:
portletApplications - the portletApplications to set


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.