|
||||||||||
| 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.search.impl.Style_impl
public class Style_impl
| Field Summary |
|---|
| Fields inherited from interface org.apache.uima.search.Style |
|---|
ANNOTATION, BREAKING, TERM |
| Constructor Summary | |
|---|---|
Style_impl()
|
|
| Method Summary | |
|---|---|
void |
buildFromXMLElement(org.w3c.dom.Element aElement,
XMLParser aParser,
XMLParser.ParsingOptions aOptions)
Overridden to read the name property from XML attributes. |
java.lang.String |
getAttribute(java.lang.String aName)
Gets the value of an attribute with the given name. |
Mapping[] |
getAttributeMappings()
Gets the mappings that specify which features (properties) of the annotation should be indexed, and under which names. |
Attribute[] |
getAttributes()
Gets the Attributes for this style. |
java.lang.String |
getName()
Gets the name of this style. |
protected org.xml.sax.helpers.AttributesImpl |
getXMLAttributes()
Overridden to write the name property as an XML attribute. |
protected XmlizationInfo |
getXmlizationInfo()
To be implemented by subclasses to return information describing how to represent this object in XML. |
void |
setAttributeMappings(Mapping[] aMappings)
Sets the mappings that specify which features (properties) of the annotation should be indexed, and under which names. |
void |
setAttributes(Attribute[] aAttributes)
Sets the Attributes for this style. |
void |
setName(java.lang.String aName)
Sets the name of this style. |
| Methods inherited from class org.apache.uima.resource.metadata.impl.MetaDataObject_impl |
|---|
buildFromXMLElement, clone, equals, getAttributeClass, getAttributeValue, getPropertyDescriptors, getPropertyXmlInfo, getRelativePathBase, getSourceUrl, getSourceUrlString, getWrapperClass, hashCode, isModifiable, listAttributes, readArrayPropertyValueFromXMLElement, readMapPropertyFromXml, readPropertyValueFromXMLElement, readUnknownPropertyValueFromXMLElement, setAttributeValue, setSourceUrl, setSourceUrlIfNull, toString, toXML, toXML, toXML, toXML, writeArrayPropertyAsElement, writeMapPropertyToXml, writePropertyAsElement |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.uima.util.XMLizable |
|---|
buildFromXMLElement, toXML, toXML, toXML, toXML |
| Constructor Detail |
|---|
public Style_impl()
| Method Detail |
|---|
public java.lang.String getName()
StyleString.intern()ed so that they can
be compared with the == operator.
getName in interface Stylepublic void setName(java.lang.String aName)
StyleString.intern()ed so that they can
be compared with the == operator.
setName in interface StyleaName - the name of this stylepublic Attribute[] getAttributes()
StyleAttributes for this style. See the class comment for a list of defined
attributes for each style name.
getAttributes in interface Stylepublic void setAttributes(Attribute[] aAttributes)
StyleAttributes for this style. See the class comment for a list of defined
attributes for each style name.
setAttributes in interface StyleaAttributes - the attibutes for this style.public java.lang.String getAttribute(java.lang.String aName)
Style
getAttribute in interface StyleaName - name of an attribute
public Mapping[] getAttributeMappings()
Style
getAttributeMappings in interface Stylepublic void setAttributeMappings(Mapping[] aMappings)
Style
setAttributeMappings in interface StyleaMappings - an array of objects that each specify a mapping from a CAS feature name to the
name under which this feature should be recorded in the index.protected org.xml.sax.helpers.AttributesImpl getXMLAttributes()
getXMLAttributes in class MetaDataObject_implorg.apache.uima.resource.impl.MetaDataObject_impl#getXMLAttributeString()
public void buildFromXMLElement(org.w3c.dom.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 settings
InvalidXMLException - if the input XML element does not specify a valid objectXMLizable.buildFromXMLElement(org.w3c.dom.Element,
org.apache.uima.util.XMLParser)protected XmlizationInfo getXmlizationInfo()
MetaDataObject_impl
getXmlizationInfo in class MetaDataObject_impl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||