Class Style_impl

    • Constructor Detail

      • Style_impl

        public Style_impl()
    • Method Detail

      • getName

        public java.lang.String getName()
        Description copied from interface: Style
        Gets the name of this style. See the class comment for a list of defined style names. Implementations must make sure that all names are String.intern()ed so that they can be compared with the == operator.
        Specified by:
        getName in interface Style
        Returns:
        the name of this style
      • setName

        public void setName​(java.lang.String aName)
        Description copied from interface: Style
        Sets the name of this style. See the class comment for a list of defined style names. Implementations must make sure that all names are String.intern()ed so that they can be compared with the == operator.
        Specified by:
        setName in interface Style
        Parameters:
        aName - the name of this style
      • getAttributes

        public Attribute[] getAttributes()
        Description copied from interface: Style
        Gets the Attributes for this style. See the class comment for a list of defined attributes for each style name.
        Specified by:
        getAttributes in interface Style
        Returns:
        the attributes for this style.
      • setAttributes

        public void setAttributes​(Attribute[] aAttributes)
        Description copied from interface: Style
        Sets the Attributes for this style. See the class comment for a list of defined attributes for each style name.
        Specified by:
        setAttributes in interface Style
        Parameters:
        aAttributes - the attributes for this style.
      • getAttribute

        public java.lang.String getAttribute​(java.lang.String aName)
        Description copied from interface: Style
        Gets the value of an attribute with the given name.
        Specified by:
        getAttribute in interface Style
        Parameters:
        aName - name of an attribute
        Returns:
        the value of the named attribute, null if there is no such attribute declared on this style
      • getAttributeMappings

        public Mapping[] getAttributeMappings()
        Description copied from interface: Style
        Gets the mappings that specify which features (properties) of the annotation should be indexed, and under which names.
        Specified by:
        getAttributeMappings in interface Style
        Returns:
        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.
      • setAttributeMappings

        public void setAttributeMappings​(Mapping[] aMappings)
        Description copied from interface: Style
        Sets the mappings that specify which features (properties) of the annotation should be indexed, and under which names.
        Specified by:
        setAttributeMappings in interface Style
        Parameters:
        aMappings - 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.
      • getXmlizationInfo

        protected XmlizationInfo getXmlizationInfo()
        Description copied from class: MetaDataObject_impl
        To be implemented by subclasses to return information describing how to represent this object in XML.
        Specified by:
        getXmlizationInfo in class MetaDataObject_impl
        Returns:
        information defining this object's XML representation