public class XMLTransferRequsiteReader extends DefaultHandler implements ContentHandler, org.alfresco.service.namespace.NamespacePrefixResolver
Constructor and Description |
---|
XMLTransferRequsiteReader(TransferRequsiteProcessor processor)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
endDocument() |
void |
endElement(String uri,
String localName,
String prefixName)
End Element
|
void |
endPrefixMapping(String prefix) |
String |
getNamespaceURI(String prefix)
lookup the prefix for a URI e.g.
|
Collection<String> |
getPrefixes() |
Collection<String> |
getPrefixes(String namespaceURI) |
Collection<String> |
getURIs() |
void |
ignorableWhitespace(char[] ch,
int start,
int length) |
void |
processingInstruction(String target,
String data) |
void |
setDocumentLocator(Locator locator) |
void |
skippedEntity(String name) |
void |
startDocument() |
void |
startElement(String uri,
String localName,
String prefixName,
Attributes atts)
Start Element
|
void |
startPrefixMapping(String prefix,
String uri) |
characters, error, fatalError, notationDecl, resolveEntity, unparsedEntityDecl, warning
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
characters
public XMLTransferRequsiteReader(TransferRequsiteProcessor processor)
processor
- public void startPrefixMapping(String prefix, String uri) throws SAXException
startPrefixMapping
in interface ContentHandler
startPrefixMapping
in class DefaultHandler
SAXException
public void endPrefixMapping(String prefix) throws SAXException
endPrefixMapping
in interface ContentHandler
endPrefixMapping
in class DefaultHandler
SAXException
public String getNamespaceURI(String prefix) throws org.alfresco.service.namespace.NamespaceException
getNamespaceURI
in interface org.alfresco.service.namespace.NamespacePrefixResolver
org.alfresco.service.namespace.NamespaceException
public Collection<String> getPrefixes(String namespaceURI) throws org.alfresco.service.namespace.NamespaceException
getPrefixes
in interface org.alfresco.service.namespace.NamespacePrefixResolver
namespaceURI
- org.alfresco.service.namespace.NamespaceException
public Collection<String> getPrefixes()
getPrefixes
in interface org.alfresco.service.namespace.NamespacePrefixResolver
public Collection<String> getURIs()
getURIs
in interface org.alfresco.service.namespace.NamespacePrefixResolver
public void startDocument() throws SAXException
startDocument
in interface ContentHandler
startDocument
in class DefaultHandler
SAXException
public void endDocument() throws SAXException
endDocument
in interface ContentHandler
endDocument
in class DefaultHandler
SAXException
public void startElement(String uri, String localName, String prefixName, Attributes atts) throws SAXException
startElement
in interface ContentHandler
startElement
in class DefaultHandler
SAXException
public void endElement(String uri, String localName, String prefixName) throws SAXException
endElement
in interface ContentHandler
endElement
in class DefaultHandler
SAXException
public void ignorableWhitespace(char[] ch, int start, int length) throws SAXException
ignorableWhitespace
in interface ContentHandler
ignorableWhitespace
in class DefaultHandler
SAXException
public void processingInstruction(String target, String data) throws SAXException
processingInstruction
in interface ContentHandler
processingInstruction
in class DefaultHandler
SAXException
public void setDocumentLocator(Locator locator)
setDocumentLocator
in interface ContentHandler
setDocumentLocator
in class DefaultHandler
public void skippedEntity(String name) throws SAXException
skippedEntity
in interface ContentHandler
skippedEntity
in class DefaultHandler
SAXException
Copyright © 2005–2017 Alfresco Software. All rights reserved.