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

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

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

Script


Method Summary
 XtfScriptList.LangSys getDefaultLangSys()
          Returns the default LangSys
 int getDefaultLangSysOffset()
          Returns the defaultLangSysOffset.
 XtfScriptList.LangSys[] getLangSys()
          Returns the langSys.
 XtfScriptList.LangSys getLangSys(LanguageSystemTag language)
          Returns the LangSys for the language.
 int getLangSysCount()
           
 XtfScriptList.LangSysRecord[] getLangSysRecords()
          Returns the langSysRecords.
 int getScriptIndex()
          Getter for scriptIndex.
 java.lang.String getTag()
          Returns the name of the 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

getDefaultLangSys

public XtfScriptList.LangSys getDefaultLangSys()
Returns the default LangSys

Returns:
Returns the default LangSys

getDefaultLangSysOffset

public int getDefaultLangSysOffset()
Returns the defaultLangSysOffset.

Returns:
Returns the defaultLangSysOffset.

getLangSys

public XtfScriptList.LangSys[] getLangSys()
Returns the langSys.

Returns:
Returns the langSys.

getLangSys

public XtfScriptList.LangSys getLangSys(LanguageSystemTag language)
Returns the LangSys for the language. If the language is not found, the default LangSys is returned.

Parameters:
language - The language.
Returns:
Returns the LangSys for the language. If the language is not found, the default LangSys is returned.

getLangSysCount

public int getLangSysCount()
Returns:
Returns the langSysCount.

getLangSysRecords

public XtfScriptList.LangSysRecord[] getLangSysRecords()
Returns the langSysRecords.

Returns:
Returns the langSysRecords.

getScriptIndex

public int getScriptIndex()
Getter for scriptIndex.

Returns:
the scriptIndex

getTag

public java.lang.String getTag()
Returns the name of the tag.

Returns:
Returns the name of 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)