org.barracudamvc.contrib.dbroggisch.display.filters.dtd
Class CallImpl

java.lang.Object
  extended by org.xml.sax.helpers.DefaultHandler
      extended by org.barracudamvc.contrib.dbroggisch.display.filters.dtd.CallImpl
All Implemented Interfaces:
Serializable, Call, Unmarshallable, ContentHandler, DTDHandler, EntityResolver, ErrorHandler, LexicalHandler

public class CallImpl
extends DefaultHandler
implements Unmarshallable, LexicalHandler, Call

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.barracudamvc.contrib.dbroggisch.display.filters.dtd.Call
ZEUS_ATTRIBUTES, ZEUS_ELEMENTS, ZEUS_XML_NAME
 
Constructor Summary
CallImpl()
           
 
Method Summary
 void addCall(Call call)
           
 void addConstant(Constant constant)
           
 void addCount(Count count)
           
 void addDate(Date date)
           
 void addLookup(Lookup lookup)
           
 void addMarkup(Markup markup)
           
 void addXmlswitch(Switch xmlswitch)
           
 void characters(char[] ch, int start, int len)
           
 void comment(char[] ch, int start, int len)
           
 void endCDATA()
           
 void endDTD()
           
 void endElement(String namespaceURI, String localName, String qName)
           
 void endEntity(String name)
           
 void error(SAXParseException e)
           
 void fatalError(SAXParseException e)
           
 List getCallList()
           
 List getConstantList()
           
 List getCountList()
           
 Unmarshallable getCurrentUNode()
           
 List getDateList()
           
 List getLookupList()
           
 List getMarkupList()
           
 Unmarshallable getParentUNode()
           
 List getXmlswitchList()
           
 void marshal(File file)
           
 void marshal(OutputStream outputStream)
           
 void marshal(Writer writer)
           
 void removeCall(Call call)
           
 void removeConstant(Constant constant)
           
 void removeCount(Count count)
           
 void removeDate(Date date)
           
 void removeLookup(Lookup lookup)
           
 void removeMarkup(Markup markup)
           
 void removeXmlswitch(Switch xmlswitch)
           
 void setCallList(List callList)
           
 void setConstantList(List constantList)
           
 void setCountList(List countList)
           
 void setCurrentUNode(Unmarshallable currentUNode)
           
 void setDateList(List dateList)
           
 void setDocType(String name, String publicID, String systemID)
           
 void setDocumentLocator(Locator locator)
           
static void setEntityResolver(EntityResolver resolver)
           This sets a SAX EntityResolver for this unmarshalling process.
static void setErrorHandler(ErrorHandler handler)
           This sets a SAX ErrorHandler for this unmarshalling process.
 void setLookupList(List lookupList)
           
 void setMarkupList(List markupList)
           
 void setOutputEncoding(String outputEncoding)
           
 void setParentUNode(Unmarshallable parentUNode)
           
 void setValidating(boolean validate)
           
 void setXmlswitchList(List xmlswitchList)
           
 void startCDATA()
           
 void startDocument()
           
 void startDTD(String name, String publicID, String systemID)
           
 void startElement(String namespaceURI, String localName, String qName, Attributes atts)
           
 void startEntity(String name)
           
 void startPrefixMapping(String prefix, String uri)
           
static Call unmarshal(File file)
           
static Call unmarshal(File file, boolean validate)
           
static Call unmarshal(InputStream inputStream)
           
static Call unmarshal(InputStream inputStream, boolean validate)
           
static Call unmarshal(Reader reader)
           
static Call unmarshal(Reader reader, boolean validate)
           
 void warning(SAXParseException e)
           
protected  void writeXMLRepresentation(Writer writer, String indent)
           
 
Methods inherited from class org.xml.sax.helpers.DefaultHandler
endDocument, endPrefixMapping, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, skippedEntity, unparsedEntityDecl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.xml.sax.ContentHandler
endDocument, endPrefixMapping, ignorableWhitespace, processingInstruction, skippedEntity
 

Constructor Detail

CallImpl

public CallImpl()
Method Detail

getCallList

public List getCallList()
Specified by:
getCallList in interface Call

setCallList

public void setCallList(List callList)
Specified by:
setCallList in interface Call

addCall

public void addCall(Call call)
Specified by:
addCall in interface Call

removeCall

public void removeCall(Call call)
Specified by:
removeCall in interface Call

getLookupList

public List getLookupList()
Specified by:
getLookupList in interface Call

setLookupList

public void setLookupList(List lookupList)
Specified by:
setLookupList in interface Call

addLookup

public void addLookup(Lookup lookup)
Specified by:
addLookup in interface Call

removeLookup

public void removeLookup(Lookup lookup)
Specified by:
removeLookup in interface Call

getMarkupList

public List getMarkupList()
Specified by:
getMarkupList in interface Call

setMarkupList

public void setMarkupList(List markupList)
Specified by:
setMarkupList in interface Call

addMarkup

public void addMarkup(Markup markup)
Specified by:
addMarkup in interface Call

removeMarkup

public void removeMarkup(Markup markup)
Specified by:
removeMarkup in interface Call

getXmlswitchList

public List getXmlswitchList()
Specified by:
getXmlswitchList in interface Call

setXmlswitchList

public void setXmlswitchList(List xmlswitchList)
Specified by:
setXmlswitchList in interface Call

addXmlswitch

public void addXmlswitch(Switch xmlswitch)
Specified by:
addXmlswitch in interface Call

removeXmlswitch

public void removeXmlswitch(Switch xmlswitch)
Specified by:
removeXmlswitch in interface Call

getConstantList

public List getConstantList()
Specified by:
getConstantList in interface Call

setConstantList

public void setConstantList(List constantList)
Specified by:
setConstantList in interface Call

addConstant

public void addConstant(Constant constant)
Specified by:
addConstant in interface Call

removeConstant

public void removeConstant(Constant constant)
Specified by:
removeConstant in interface Call

getDateList

public List getDateList()
Specified by:
getDateList in interface Call

setDateList

public void setDateList(List dateList)
Specified by:
setDateList in interface Call

addDate

public void addDate(Date date)
Specified by:
addDate in interface Call

removeDate

public void removeDate(Date date)
Specified by:
removeDate in interface Call

getCountList

public List getCountList()
Specified by:
getCountList in interface Call

setCountList

public void setCountList(List countList)
Specified by:
setCountList in interface Call

addCount

public void addCount(Count count)
Specified by:
addCount in interface Call

removeCount

public void removeCount(Count count)
Specified by:
removeCount in interface Call

setDocType

public void setDocType(String name,
                       String publicID,
                       String systemID)
Specified by:
setDocType in interface Call

setOutputEncoding

public void setOutputEncoding(String outputEncoding)
Specified by:
setOutputEncoding in interface Call

marshal

public void marshal(File file)
             throws IOException
Specified by:
marshal in interface Call
Throws:
IOException

marshal

public void marshal(OutputStream outputStream)
             throws IOException
Specified by:
marshal in interface Call
Throws:
IOException

marshal

public void marshal(Writer writer)
             throws IOException
Specified by:
marshal in interface Call
Throws:
IOException

writeXMLRepresentation

protected void writeXMLRepresentation(Writer writer,
                                      String indent)
                               throws IOException
Throws:
IOException

setEntityResolver

public static void setEntityResolver(EntityResolver resolver)

This sets a SAX EntityResolver for this unmarshalling process.

Parameters:
resolver - the entity resolver to use.

setErrorHandler

public static void setErrorHandler(ErrorHandler handler)

This sets a SAX ErrorHandler for this unmarshalling process.

Parameters:
handler - the entity resolver to use.

unmarshal

public static Call unmarshal(File file)
                      throws IOException
Throws:
IOException

unmarshal

public static Call unmarshal(File file,
                             boolean validate)
                      throws IOException
Throws:
IOException

unmarshal

public static Call unmarshal(InputStream inputStream)
                      throws IOException
Throws:
IOException

unmarshal

public static Call unmarshal(InputStream inputStream,
                             boolean validate)
                      throws IOException
Throws:
IOException

unmarshal

public static Call unmarshal(Reader reader)
                      throws IOException
Throws:
IOException

unmarshal

public static Call unmarshal(Reader reader,
                             boolean validate)
                      throws IOException
Throws:
IOException

getParentUNode

public Unmarshallable getParentUNode()
Specified by:
getParentUNode in interface Unmarshallable

setParentUNode

public void setParentUNode(Unmarshallable parentUNode)
Specified by:
setParentUNode in interface Unmarshallable

getCurrentUNode

public Unmarshallable getCurrentUNode()
Specified by:
getCurrentUNode in interface Unmarshallable

setCurrentUNode

public void setCurrentUNode(Unmarshallable currentUNode)
Specified by:
setCurrentUNode in interface Unmarshallable

setValidating

public void setValidating(boolean validate)

startDocument

public void startDocument()
                   throws SAXException
Specified by:
startDocument in interface ContentHandler
Overrides:
startDocument in class DefaultHandler
Throws:
SAXException

setDocumentLocator

public void setDocumentLocator(Locator locator)
Specified by:
setDocumentLocator in interface ContentHandler
Overrides:
setDocumentLocator in class DefaultHandler

startPrefixMapping

public void startPrefixMapping(String prefix,
                               String uri)
                        throws SAXException
Specified by:
startPrefixMapping in interface ContentHandler
Overrides:
startPrefixMapping in class DefaultHandler
Throws:
SAXException

startElement

public void startElement(String namespaceURI,
                         String localName,
                         String qName,
                         Attributes atts)
                  throws SAXException
Specified by:
startElement in interface ContentHandler
Overrides:
startElement in class DefaultHandler
Throws:
SAXException

endElement

public void endElement(String namespaceURI,
                       String localName,
                       String qName)
                throws SAXException
Specified by:
endElement in interface ContentHandler
Overrides:
endElement in class DefaultHandler
Throws:
SAXException

characters

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

comment

public void comment(char[] ch,
                    int start,
                    int len)
             throws SAXException
Specified by:
comment in interface LexicalHandler
Throws:
SAXException

warning

public void warning(SAXParseException e)
             throws SAXException
Specified by:
warning in interface ErrorHandler
Overrides:
warning in class DefaultHandler
Throws:
SAXException

error

public void error(SAXParseException e)
           throws SAXException
Specified by:
error in interface ErrorHandler
Overrides:
error in class DefaultHandler
Throws:
SAXException

fatalError

public void fatalError(SAXParseException e)
                throws SAXException
Specified by:
fatalError in interface ErrorHandler
Overrides:
fatalError in class DefaultHandler
Throws:
SAXException

startDTD

public void startDTD(String name,
                     String publicID,
                     String systemID)
              throws SAXException
Specified by:
startDTD in interface LexicalHandler
Throws:
SAXException

endDTD

public void endDTD()
            throws SAXException
Specified by:
endDTD in interface LexicalHandler
Throws:
SAXException

startEntity

public void startEntity(String name)
                 throws SAXException
Specified by:
startEntity in interface LexicalHandler
Throws:
SAXException

endEntity

public void endEntity(String name)
               throws SAXException
Specified by:
endEntity in interface LexicalHandler
Throws:
SAXException

startCDATA

public void startCDATA()
                throws SAXException
Specified by:
startCDATA in interface LexicalHandler
Throws:
SAXException

endCDATA

public void endCDATA()
              throws SAXException
Specified by:
endCDATA in interface LexicalHandler
Throws:
SAXException


Copyright © 2006 BarracudaMVC.org All Rights Reserved.