org.extex.font.format.xtf.tables.gps
Class XtfFeatureList.Feature

java.lang.Object
  extended by org.extex.font.format.xtf.tables.gps.XtfFeatureList.Feature
All Implemented Interfaces:
XMLWriterConvertible
Enclosing class:
XtfFeatureList

public class XtfFeatureList.Feature
extends java.lang.Object
implements XMLWriterConvertible

The feature name table allows you to include the font's text features, the settings for each text feature, and the name table indices for common (human-readable) names for the features and settings.


Method Summary
 int getIdx()
          Getter for idx.
 int getLookupCount()
          Returns the lookupCount
 int getLookupListIndex(int i)
          Returns the lookuplistindex or -1, if not found.
 XtfLookup[] getLookups()
          Returns the Lookups.
 java.lang.String getTag()
          Getter for tag.
 java.lang.String toString()
          Returns the info for this class
 void writeXML(XMLStreamWriter writer)
          Write the data to a XMLStreamWriter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getIdx

public int getIdx()
Getter for idx.

Returns:
the idx

getLookupCount

public int getLookupCount()
Returns the lookupCount

Returns:
Returns the lookupCount

getLookupListIndex

public int getLookupListIndex(int i)
Returns the lookuplistindex or -1, if not found.

Parameters:
i - index
Returns:
Returns the lookuplistindex

getLookups

public XtfLookup[] getLookups()
Returns the Lookups.

Returns:
Returns the Lookups.

getTag

public java.lang.String getTag()
Getter for tag.

Returns:
the tag

toString

public java.lang.String toString()
Returns the info for this class

Overrides:
toString in class java.lang.Object
Returns:
Returns the info for this class

writeXML

public void writeXML(XMLStreamWriter writer)
              throws java.io.IOException
Write the data to a XMLStreamWriter.

Specified by:
writeXML in interface XMLWriterConvertible
Parameters:
writer - the XML-Writer
Throws:
java.io.IOException - if an IO-error occurs.
See Also:
XMLWriterConvertible.writeXML(org.extex.util.xml.XMLStreamWriter)