org.extex.font.format.xtf.tables.gps
Class XtfScriptList.LangSys

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

public class XtfScriptList.LangSys
extends java.lang.Object
implements XMLWriterConvertible

The class for a langsys.


Method Summary
 int getFeatureCount()
          Returns the featureIndex.
 int getFeatureIndex(int idx)
          Returns the featureIndex.
 java.util.List<java.lang.Integer> getFeatureIndexList()
          Getter for featureIndexList.
 int getFeatureTag(FeatureTag featureName)
          Returns the index of the feature tag or -1, if not found.
 int getIndex()
          Getter for index.
 int getLookupOrder()
           
 int getReqFeatureIndex()
           
 boolean isFeatureIndexed(int n)
          Check, if is a feature index.
 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

getFeatureCount

public int getFeatureCount()
Returns the featureIndex.

Returns:
Returns the featureIndex.

getFeatureIndex

public int getFeatureIndex(int idx)
Returns the featureIndex.

Returns:
Returns the featureIndex.

getFeatureIndexList

public java.util.List<java.lang.Integer> getFeatureIndexList()
Getter for featureIndexList.

Returns:
the featureIndexList

getFeatureTag

public int getFeatureTag(FeatureTag featureName)
Returns the index of the feature tag or -1, if not found.

Parameters:
featureName - The name of the feature tag.
Returns:
Returns the index of the feature tag or -1, if not found.

getIndex

public int getIndex()
Getter for index.

Returns:
the index

getLookupOrder

public int getLookupOrder()
Returns:
Returns the lookupOrder.

getReqFeatureIndex

public int getReqFeatureIndex()
Returns:
Returns the reqFeatureIndex.

isFeatureIndexed

public boolean isFeatureIndexed(int n)
Check, if is a feature index.

Parameters:
n - the index
Returns:
Returns true, if is a feature index, otherwise false

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)