org.fcrepo.test.api
Class ValidatorEntityResolver

java.lang.Object
  extended by org.xml.sax.helpers.DefaultHandler
      extended by org.fcrepo.test.api.ValidatorEntityResolver
All Implemented Interfaces:
ContentHandler, DTDHandler, EntityResolver, ErrorHandler

public class ValidatorEntityResolver
extends DefaultHandler
implements EntityResolver


Field Summary
static String DC
           
static String FEDORA
           
static String FEDORA_COMMONS
           
static String OAI
           
static String W3C
           
 
Constructor Summary
ValidatorEntityResolver()
           
 
Method Summary
 InputSource resolveEntity(String publicId, String systemId)
           
 
Methods inherited from class org.xml.sax.helpers.DefaultHandler
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

W3C

public static String W3C

FEDORA

public static String FEDORA

FEDORA_COMMONS

public static String FEDORA_COMMONS

DC

public static String DC

OAI

public static String OAI
Constructor Detail

ValidatorEntityResolver

public ValidatorEntityResolver()
Method Detail

resolveEntity

public InputSource resolveEntity(String publicId,
                                 String systemId)
                          throws SAXException,
                                 IOException
Specified by:
resolveEntity in interface EntityResolver
Overrides:
resolveEntity in class DefaultHandler
Throws:
SAXException
IOException


Copyright © 2012 DuraSpace. All Rights Reserved.