org.apache.myfaces.tobago.internal.config
Class TobagoConfigVersion

java.lang.Object
  extended by org.xml.sax.helpers.DefaultHandler
      extended by org.apache.myfaces.tobago.internal.config.TobagoConfigEntityResolver
          extended by org.apache.myfaces.tobago.internal.config.TobagoConfigVersion
All Implemented Interfaces:
ContentHandler, DTDHandler, EntityResolver, ErrorHandler

public class TobagoConfigVersion
extends TobagoConfigEntityResolver


Field Summary
 
Fields inherited from class org.apache.myfaces.tobago.internal.config.TobagoConfigEntityResolver
TOBAGO_CONFIG_XSD_1_5, TOBAGO_CONFIG_XSD_1_6, TOBAGO_CONFIG_XSD_2_0
 
Constructor Summary
TobagoConfigVersion(URL url)
           
 
Method Summary
 String getVersion()
           
 boolean isSchema()
           
 void startElement(String uri, String localName, String qName, Attributes attributes)
           
 
Methods inherited from class org.apache.myfaces.tobago.internal.config.TobagoConfigEntityResolver
resolveEntity
 
Methods inherited from class org.xml.sax.helpers.DefaultHandler
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, 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

TobagoConfigVersion

public TobagoConfigVersion(URL url)
                    throws ParserConfigurationException,
                           SAXException,
                           IOException
Throws:
ParserConfigurationException
SAXException
IOException
Method Detail

startElement

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

isSchema

public boolean isSchema()

getVersion

public String getVersion()


Copyright © 2002-2014 The Apache Software Foundation. All Rights Reserved.