DynamicPDF by ceTe Software

com.cete.dynamicpdf.xmp
Class XmpLangAltList

java.lang.Object
  extended by com.cete.dynamicpdf.xmp.XmpDataType
      extended by com.cete.dynamicpdf.xmp.XmpCollection
          extended by 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.
 void setDefault(java.lang.String text)
          Sets the default country language and text representing the language.
 int size()
          Gets the number of elements present.
 
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.

size

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

Specified by:
size in class XmpCollection
Returns:
The number of elements.

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 DynamicPDF v10.04 for Java generated on September 25, 2019
© Copyright 2019, ceTe Software