org.deltava.util.bbcode
Class BBCodeHandler

java.lang.Object
  extended by org.xml.sax.helpers.DefaultHandler
      extended by org.deltava.util.bbcode.BBCodeHandler
All Implemented Interfaces:
ContentHandler, DTDHandler, EntityResolver, ErrorHandler

public class BBCodeHandler
extends DefaultHandler

Version:
$Id: BBCodeHandler.java,v 1.19 2007/07/28 14:17:09 rafaelsteil Exp $
Author:
Rafael Steil

Constructor Summary
BBCodeHandler()
           
 
Method Summary
 void characters(char[] ch, int start, int length)
           
 void endElement(String uri, String localName, String tag)
           
 void error(SAXParseException exception)
           
 Collection<BBCode> getAll()
           
 void init()
           
 void startElement(String uri, String localName, String tag, Attributes attrs)
           
 
Methods inherited from class org.xml.sax.helpers.DefaultHandler
endDocument, endPrefixMapping, 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
 

Constructor Detail

BBCodeHandler

public BBCodeHandler()
Method Detail

init

public void init()

getAll

public Collection<BBCode> getAll()

startElement

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

endElement

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

characters

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

error

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


Copyright © 2004-2009 Global Virtual Airlines Group. All Rights Reserved.