|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.uima.resource.metadata.impl.MetaDataObject_impl
org.apache.uima.resource.impl.ResourceCreationSpecifier_impl
org.apache.uima.collection.impl.CollectionReaderDescription_impl
public class CollectionReaderDescription_impl
To change the template for this generated type comment go to Window>Preferences>Java>Code Generation>Code and Comments
Constructor Summary | |
---|---|
CollectionReaderDescription_impl()
Creates a new ProcessingResourceMetaData_impl. |
Method Summary | |
---|---|
void |
buildFromXMLElement(org.w3c.dom.Element aElement,
XMLParser aParser,
XMLParser.ParsingOptions aOptions)
Overridden to set default operational properties if they are not specified in descriptor. |
void |
doFullValidation(ResourceManager aResourceManager)
Does full validation of this ResourceCreationSpecifier . |
ProcessingResourceMetaData |
getCollectionReaderMetaData()
Retrieves the metadata that describes the CollectionReader. |
protected XmlizationInfo |
getXmlizationInfo()
To be implemented by subclasses to return information describing how to represent this object in XML. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.uima.resource.ResourceCreationSpecifier |
---|
doFullValidation, getExternalResourceDependencies, getExternalResourceDependency, getFrameworkImplementation, getImplementationName, getMetaData, getResourceManagerConfiguration, setExternalResourceDependencies, setFrameworkImplementation, setImplementationName, setMetaData, setResourceManagerConfiguration, validate, validate |
Methods inherited from interface org.apache.uima.resource.metadata.MetaDataObject |
---|
clone, equals, getAttributeValue, getSourceUrl, getSourceUrlString, isModifiable, listAttributes, setAttributeValue, setSourceUrl |
Methods inherited from interface org.apache.uima.util.XMLizable |
---|
buildFromXMLElement, toXML, toXML, toXML, toXML |
Constructor Detail |
---|
public CollectionReaderDescription_impl()
Method Detail |
---|
public ProcessingResourceMetaData getCollectionReaderMetaData()
CollectionReaderDescription
getCollectionReaderMetaData
in interface CollectionReaderDescription
ResourceMetaData
object containing the CollectionReader's metadata.
This object can be modified.public void doFullValidation(ResourceManager aResourceManager) throws ResourceInitializationException
ResourceCreationSpecifier
ResourceCreationSpecifier
.
This essentially performs all operations necessary to
instantiate a Resource except that it does not actually instantiate the implementation class.
If appropriate, this method will also attempt to create a CAS based on the descriptor, in order
to do full type system verification. If any operations fail, an exception will be thrown.
doFullValidation
in interface ResourceCreationSpecifier
doFullValidation
in class ResourceCreationSpecifier_impl
aResourceManager
- a ResourceManager instance to use to load annotator classes, external resource
classes, and resolve imports by name.
ResourceInitializationException
- if validation failedpublic void buildFromXMLElement(org.w3c.dom.Element aElement, XMLParser aParser, XMLParser.ParsingOptions aOptions) throws InvalidXMLException
buildFromXMLElement
in interface XMLizable
buildFromXMLElement
in class MetaDataObject_impl
aElement
- the XML element that represents this object.aParser
- a reference to the UIMA XMLParser
. The
XMLParser.buildObject(Element)
method can be used to construct sub-objects.aOptions
- option settings
InvalidXMLException
- if the input XML element does not specify a valid objectprotected XmlizationInfo getXmlizationInfo()
MetaDataObject_impl
getXmlizationInfo
in class ResourceCreationSpecifier_impl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |