com.uwyn.rife.rep
Class Xml2BlockingRepository
java.lang.Object
org.xml.sax.helpers.DefaultHandler
com.uwyn.rife.xml.Xml2Data
com.uwyn.rife.rep.Xml2BlockingRepository
- All Implemented Interfaces:
- ContentHandler, DTDHandler, EntityResolver, ErrorHandler
public class Xml2BlockingRepository
- extends Xml2Data
Processes a Rep XML document and add all the declared
participants to a BlockingRepository.
- Since:
- 1.0
- Version:
- $Revision: 3634 $
- Author:
- Geert Bevin (gbevin[remove] at uwyn dot com)
- See Also:
BlockingRepository
| Methods inherited from class com.uwyn.rife.xml.Xml2Data |
createErrorRedirector, disableValidation, enableValidation, error, fatalError, getErrorRedirector, getResourceFinder, getXmlPath, processXml, processXml, processXml, warning |
| Methods inherited from class org.xml.sax.helpers.DefaultHandler |
endDocument, endPrefixMapping, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
addRepParticipants
public void addRepParticipants(String resource,
ResourceFinder resourcefinder)
throws XmlErrorException
- Adds all the participants of a provided resource to the repository.
- Parameters:
resource - the name of the resource that contains the declaration
of the participatns.resourcefinder - a ResourceFinder that will be used
to retrieve the resource
- Throws:
XmlErrorException - if an error occurs during the processing
of the document
startElement
public void startElement(String namespaceURI,
String localName,
String qName,
Attributes atts)
- Specified by:
startElement in interface ContentHandler- Overrides:
startElement in class DefaultHandler
endElement
public void endElement(String namespaceURI,
String localName,
String qName)
- Specified by:
endElement in interface ContentHandler- Overrides:
endElement in class DefaultHandler
characters
public void characters(char[] ch,
int start,
int length)
- Specified by:
characters in interface ContentHandler- Overrides:
characters in class DefaultHandler
Copyright © 2001-2007 Uwyn sprl/bvba. All Rights Reserved.