public class Import_impl extends MetaDataObject_impl implements Import
MetaDataObject_impl.MetaDataAttr, MetaDataObject_impl.SerialContext, MetaDataObject_impl.Serializer| Modifier and Type | Field and Description | 
|---|---|
| protected static String | LOG_RESOURCE_BUNDLEresource bundle for log messages | 
serialContextEMPTY_IMPORTS| Constructor and Description | 
|---|
| Import_impl() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | buildFromXMLElement(Element aElement,
                   XMLParser aParser,
                   XMLParser.ParsingOptions aOptions)Overridden to provide custom XML representation. | 
| URL | findAbsoluteUrl(ResourceManager aResourceManager)Computes the absolute URL for this import, using the relative location or name, whichever is
 specified by this import object. | 
| String | getLocation()Gets the location of this import's target. | 
| String | getName()Gets the name of this import's target. | 
| protected XmlizationInfo | getXmlizationInfo()To be implemented by subclasses to return information describing how to represent this object
 in XML. | 
| void | setLocation(String aUri)Sets the location of this import's target. | 
| void | setName(String aName)Sets the name of this import's target. | 
| void | setSuffix(String suffix) | 
| void | toXML(ContentHandler aContentHandler,
     boolean aWriteDefaultNamespaceAttribute)Overridden to provide custom XML representation. | 
buildFromXMLElement, clone, equals, getAdditionalAttributes, getAttributeClass, getAttributeValue, getInfoset, getMatchingNode, getPropertyDescriptors, getPropertyXmlInfo, getRelativePathBase, getSerialContext, getSourceUrl, getSourceUrlString, getWrapperClass, getXMLAttributes, hashCode, isModifiable, listAttributes, readArrayPropertyValueFromXMLElement, readMapPropertyFromXml, readPropertyValueFromXMLElement, readUnknownPropertyValueFromXMLElement, resolveSettings, setAttributeValue, setInfoset, setSourceUrl, setSourceUrlIfNull, toString, toXML, toXML, toXML, valueIsNullOrEmptyArray, writeArrayPropertyAsElement, writeMapPropertyToXml, writePropertyAsElementfinalize, getClass, notify, notifyAll, wait, wait, waitclone, equals, getAttributeValue, getSourceUrl, getSourceUrlString, isModifiable, listAttributes, setAttributeValue, setSourceUrlbuildFromXMLElement, toXML, toXML, toXMLprotected static final String LOG_RESOURCE_BUNDLE
public String getName()
Importpublic void setName(String aName)
Importpublic String getLocation()
ImportgetLocation in interface Importpublic void setLocation(String aUri)
ImportsetLocation in interface ImportaUri - a URI specifying the location of this import's target.public void setSuffix(String suffix)
public URL findAbsoluteUrl(ResourceManager aResourceManager) throws InvalidXMLException
ImportfindAbsoluteUrl in interface ImportaResourceManager - resource manager to use to do name lookupsInvalidXMLException - if the import could not be resolvedpublic void buildFromXMLElement(Element aElement, XMLParser aParser, XMLParser.ParsingOptions aOptions) throws InvalidXMLException
buildFromXMLElement in interface XMLizablebuildFromXMLElement in class MetaDataObject_implaElement - 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 settingsInvalidXMLException - if the input XML element does not specify a valid objectXMLizable.buildFromXMLElement(org.w3c.dom.Element,
      org.apache.uima.util.XMLParser)public void toXML(ContentHandler aContentHandler, boolean aWriteDefaultNamespaceAttribute) throws SAXException
toXML in interface XMLizabletoXML in class MetaDataObject_implaContentHandler - the content handler to which this object will write events that describe its XML
          representation.aWriteDefaultNamespaceAttribute - whether the namespace of this element should be written as the default namespace. This
          should be done only for the root element, and it defaults to false.SAXException - pass thruXMLizable.toXML(ContentHandler)protected XmlizationInfo getXmlizationInfo()
MetaDataObject_implgetXmlizationInfo in class MetaDataObject_implMetaDataObject_impl.getXmlizationInfo()Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.