Package net.sf.saxon.om
Class PrefixNormalizer
- java.lang.Object
-
- org.xml.sax.helpers.XMLFilterImpl
-
- net.sf.saxon.om.PrefixNormalizer
-
- All Implemented Interfaces:
org.xml.sax.ContentHandler,org.xml.sax.DTDHandler,org.xml.sax.EntityResolver,org.xml.sax.ErrorHandler,org.xml.sax.XMLFilter,org.xml.sax.XMLReader
public class PrefixNormalizer extends org.xml.sax.helpers.XMLFilterImpl
-
-
Constructor Summary
Constructors Constructor Description PrefixNormalizer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidendPrefixMapping(java.lang.String prefix)Filter an end Namespace prefix mapping event.voidstartElement(java.lang.String uri, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes atts)Filter a start element event.voidstartPrefixMapping(java.lang.String prefix, java.lang.String uri)Filter a start Namespace prefix mapping event.-
Methods inherited from class org.xml.sax.helpers.XMLFilterImpl
characters, endDocument, endElement, 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, unparsedEntityDecl, warning
-
-
-
-
Method Detail
-
startPrefixMapping
public void startPrefixMapping(java.lang.String prefix, java.lang.String uri) throws org.xml.sax.SAXExceptionFilter a start Namespace prefix mapping event.- Specified by:
startPrefixMappingin interfaceorg.xml.sax.ContentHandler- Overrides:
startPrefixMappingin classorg.xml.sax.helpers.XMLFilterImpl- Parameters:
prefix- The Namespace prefix.uri- The Namespace URI.- Throws:
org.xml.sax.SAXException- The client may throw an exception during processing.
-
startElement
public void startElement(java.lang.String uri, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes atts) throws org.xml.sax.SAXExceptionFilter a start element event.- Specified by:
startElementin interfaceorg.xml.sax.ContentHandler- Overrides:
startElementin classorg.xml.sax.helpers.XMLFilterImpl- Parameters:
uri- The element's Namespace URI, or the empty string.localName- The element's local name, or the empty string.qName- The element's qualified (prefixed) name, or the empty string.atts- The element's attributes.- Throws:
org.xml.sax.SAXException- The client may throw an exception during processing.
-
endPrefixMapping
public void endPrefixMapping(java.lang.String prefix) throws org.xml.sax.SAXExceptionFilter an end Namespace prefix mapping event.- Specified by:
endPrefixMappingin interfaceorg.xml.sax.ContentHandler- Overrides:
endPrefixMappingin classorg.xml.sax.helpers.XMLFilterImpl- Parameters:
prefix- The Namespace prefix.- Throws:
org.xml.sax.SAXException- The client may throw an exception during processing.
-
-