org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.util
Class XPointerFilter

java.lang.Object
  extended by org.xml.sax.helpers.XMLFilterImpl
      extended by org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.util.XPointerFilter
All Implemented Interfaces:
ContentHandler, DTDHandler, EntityResolver, ErrorHandler, XMLFilter, XMLReader

public final class XPointerFilter
extends XMLFilterImpl

For now, just skip the root element since that's our usecase.


Constructor Summary
XPointerFilter(XMLReader parent, NamespaceSupport namespaces, String xpointer)
           
 
Method Summary
 void endElement(String namespaceURI, String localName, String qualifiedName)
           
 void startElement(String namespaceURI, String localName, String qualifiedName, Attributes attributes)
           
 
Methods inherited from class org.xml.sax.helpers.XMLFilterImpl
characters, endDocument, endPrefixMapping, error, fatalError, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getParent, getProperty, ignorableWhitespace, notationDecl, parse, parse, processingInstruction, resolveEntity, setContentHandler, setDocumentLocator, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setParent, setProperty, 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

XPointerFilter

public XPointerFilter(XMLReader parent,
                      NamespaceSupport namespaces,
                      String xpointer)
Method Detail

startElement

public void startElement(String namespaceURI,
                         String localName,
                         String qualifiedName,
                         Attributes attributes)
                  throws SAXException
Specified by:
startElement in interface ContentHandler
Overrides:
startElement in class XMLFilterImpl
Throws:
SAXException

endElement

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


Copyright © 2001-2011 The Apache Software Foundation. All Rights Reserved.