com.arsdigita.cms.installer.xml
Class XMLContentTypeHandler

java.lang.Object
  extended byorg.xml.sax.helpers.DefaultHandler
      extended bycom.arsdigita.cms.installer.xml.XMLContentTypeHandler
All Implemented Interfaces:
org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler

public class XMLContentTypeHandler
extends org.xml.sax.helpers.DefaultHandler

Parses XML file definition of content types and loads them to the database.

Author:
Nobuko Asakai
See Also:
ContentTypeInitializer

Constructor Summary
XMLContentTypeHandler()
           
 
Method Summary
 void endElement(String uri, String name, String qName, org.xml.sax.Attributes atts)
           
 List getContentTypes()
           
 void startElement(String uri, String name, String qName, org.xml.sax.Attributes atts)
           
 
Methods inherited from class org.xml.sax.helpers.DefaultHandler
characters, endDocument, endElement, 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
 

Constructor Detail

XMLContentTypeHandler

public XMLContentTypeHandler()
Method Detail

getContentTypes

public List getContentTypes()

startElement

public void startElement(String uri,
                         String name,
                         String qName,
                         org.xml.sax.Attributes atts)

endElement

public void endElement(String uri,
                       String name,
                       String qName,
                       org.xml.sax.Attributes atts)


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2352 UTC