DynamicPDF by ceTe Software

com.cete.dynamicpdf.xmp
Class XmpLangAltList

java.lang.Object
  |
  +--com.cete.dynamicpdf.xmp.XmpDataType
        |
        +--com.cete.dynamicpdf.xmp.XmpCollection
              |
              +--com.cete.dynamicpdf.xmp.XmpLangAltList

public class XmpLangAltList
extends XmpCollection

Class represents a language alternative, which is an array of type that has a language property qualifier.

Licensing:
This class is a DynamicPDF Generator Enterprise Edition feature. One of the following licenses is required for non-evaluation usage:


Method Summary
 void addLang(java.lang.String langCountry, java.lang.String text)
          Adds the default country language and text in specified language.
 void draw(XmpWriter xwriter)
          Draws the Xmp language alternative array data structure to the given XmpWriter object.
 int getSize()
          Gets the number of elements present.
 void setDefault(java.lang.String text)
          Sets the default country language and text representing the language.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

addLang

public void addLang(java.lang.String langCountry,
                    java.lang.String text)
Adds the default country language and text in specified language.

Parameters:
langCountry - specifying the country of the language. For e.g: "en-us", "fr-fr", "it-it" and etc.
text - representing some text in country language.

setDefault

public void setDefault(java.lang.String text)
Sets the default country language and text representing the language.

Parameters:
text - specifying the text in country language.

getSize

public int getSize()
Gets the number of elements present.

Specified by:
getSize in class XmpCollection

draw

public void draw(XmpWriter xwriter)
Draws the Xmp language alternative array data structure to the given XmpWriter object.

Specified by:
draw in class XmpDataType
Parameters:
xwriter - XmpWriter object to receive the Xmp language alternative array's output.
See Also:
XmpWriter

DynamicPDF by ceTe Software

API Reference for DynamicPDFTM v4.0.3 for Java generated on March 22, 2007
© Copyright 2007, ceTe Software