| java.lang.Object org.xml.sax.helpers.DefaultHandler de.schlund.pfixxml.config.CustomizationHandler
CustomizationHandler | public class CustomizationHandler extends DefaultHandler (Code) | | Handler for conditional processing. This handler takes care that only the
parts matching certain conditions are parsed, where applicable. Please note
that this implementation is NOT thread-safe,
author: Sebastian Marsching |
Method Summary | |
public void | characters(char[] ch, int start, int length) | public void | endDocument() | public void | endElement(String uri, String localName, String qName) | public void | endPrefixMapping(String prefix) | public void | error(SAXParseException e) | public void | fatalError(SAXParseException e) | public void | ignorableWhitespace(char[] ch, int start, int length) | public void | notationDecl(String name, String publicId, String systemId) | public void | processingInstruction(String target, String data) | public InputSource | resolveEntity(String publicId, String systemId) | public void | setDocumentLocator(Locator locator) | public void | skippedEntity(String name) | public void | startDocument() | public void | startElement(String uri, String localName, String qName, Attributes atts) | public void | startPrefixMapping(String prefix, String uri) | public void | unparsedEntityDecl(String name, String publicId, String systemId, String notationName) | public void | warning(SAXParseException e) |
CustomizationHandler | public CustomizationHandler(DefaultHandler targetHandler)(Code) | | Creates a new customization handler with default configuration
Parameters: targetHandler - Handler XML events are forwarded to |
CustomizationHandler | public CustomizationHandler(DefaultHandler targetHandler, String namespace)(Code) | | Creates a new customization handler using the supplied arguments
Parameters: targetHandler - Handler events are forwared to Parameters: namespace - URI specifying the namespace to expect the customizationelements within |
CustomizationHandler | public CustomizationHandler(DefaultHandler targetHandler, String namespace, String namespaceContent)(Code) | | Creates a new customization handler using the supplied arguments
Parameters: targetHandler - Handler events are forwared to Parameters: namespace - URI specifying the namespace to expect the customizationelements within Parameters: namespaceContent - URI expected for docroot and fqdn tag, can benull if this tags should not bematched |
CustomizationHandler | public CustomizationHandler(DefaultHandler targetHandler, String namespace, String namespaceContent, String[] pathsToMatch)(Code) | | Creates a new customization handler using the supplied arguments
Parameters: targetHandler - Handler events are forwared to Parameters: namespace - URI specifying the namespace to expect the customizationelements within Parameters: namespaceContent - URI expected for docroot and fqdn tag Parameters: pathsToMatch - Array containing paths where the choose element isexpected (e.g. "/root/element/otherlement") |
CustomizationHandler | public CustomizationHandler(DefaultHandler targetHandler, Properties buildTimeProps, String namespace, String namespaceContent)(Code) | | Creates a new customization handler using the supplied arguments
Parameters: targetHandler - Handler events are forwared to Parameters: buildTimeProps - Properties to read variables from Parameters: namespace - URI specifying the namespace to expect the customizationelements within Parameters: namespaceContent - URI expected for docroot and fqdn tag, can benull if this tags should not bematched |
characters | public void characters(char[] ch, int start, int length) throws SAXException(Code) | | |
ignorableWhitespace | public void ignorableWhitespace(char[] ch, int start, int length) throws SAXException(Code) | | |
setDocumentLocator | public void setDocumentLocator(Locator locator)(Code) | | |
Methods inherited from org.xml.sax.helpers.DefaultHandler | public void characters(char ch, int start, int length) throws SAXException(Code)(Java Doc) public void endDocument() throws SAXException(Code)(Java Doc) public void endElement(String uri, String localName, String qName) throws SAXException(Code)(Java Doc) public void endPrefixMapping(String prefix) throws SAXException(Code)(Java Doc) public void error(SAXParseException e) throws SAXException(Code)(Java Doc) public void fatalError(SAXParseException e) throws SAXException(Code)(Java Doc) public void ignorableWhitespace(char ch, int start, int length) throws SAXException(Code)(Java Doc) public void notationDecl(String name, String publicId, String systemId) throws SAXException(Code)(Java Doc) public void processingInstruction(String target, String data) throws SAXException(Code)(Java Doc) public InputSource resolveEntity(String publicId, String systemId) throws IOException, SAXException(Code)(Java Doc) public void setDocumentLocator(Locator locator)(Code)(Java Doc) public void skippedEntity(String name) throws SAXException(Code)(Java Doc) public void startDocument() throws SAXException(Code)(Java Doc) public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException(Code)(Java Doc) public void startPrefixMapping(String prefix, String uri) throws SAXException(Code)(Java Doc) public void unparsedEntityDecl(String name, String publicId, String systemId, String notationName) throws SAXException(Code)(Java Doc) public void warning(SAXParseException e) throws SAXException(Code)(Java Doc)
|
|
|