com.adactus.mpeg21.didl.xml
Class DigitalItemDeclarationsDocumentSource

java.lang.Object
  extended by com.adactus.mpeg21.xml.schema.ErrorHandlerImpl
      extended by com.adactus.mpeg21.xml.schema.DocumentSource
          extended by com.adactus.mpeg21.xml.schema.ValidatingDocumentSource
              extended by com.adactus.mpeg21.didl.xml.DigitalItemDeclarationsDocumentSource
All Implemented Interfaces:
javolution.lang.Reusable, org.xml.sax.ErrorHandler

public class DigitalItemDeclarationsDocumentSource
extends ValidatingDocumentSource

Document source (and validator) for digital items.


Constructor Summary
DigitalItemDeclarationsDocumentSource(java.lang.String didmodelSchema, java.lang.String didlSchema)
          Constructor.
 
Method Summary
 
Methods inherited from class com.adactus.mpeg21.xml.schema.ValidatingDocumentSource
getResourceResolver, getSchema, initFactory, setResourceResolver, setSchema, setSchema, setSources, validate, validate, validate, validate
 
Methods inherited from class com.adactus.mpeg21.xml.schema.DocumentSource
getDocument, getDocument, getDocument, getDocument, getEntityResolver, initBuilder, newDocument, newInstance, recycle, setEntityResolver
 
Methods inherited from class com.adactus.mpeg21.xml.schema.ErrorHandlerImpl
error, fatalError, getStatus, reset, warning, wasError, wasFatalError, wasWaring
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DigitalItemDeclarationsDocumentSource

public DigitalItemDeclarationsDocumentSource(java.lang.String didmodelSchema,
                                             java.lang.String didlSchema)
                                      throws java.lang.Exception
Constructor.

Parameters:
didmodelSchema - path to the didmodel.xsd file
didlSchema - path to the didl.xsd file
Throws:
java.lang.Exception