|
PDF Clown 0.1.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.pdfclown.objects.PdfObjectWrapper<PdfTextString> org.pdfclown.documents.interchange.access.LanguageIdentifier
@PDF(value=PDF14) public final class LanguageIdentifier
Language identifier [PDF:1.7:10.8.1][RFC 3066].
Language identifiers can be based on codes defined by the International Organization for Standardization in ISO 639 (language code) and ISO 3166 (country code) or registered with the Internet Assigned Numbers Authority (IANA), or they can include codes created for private use.
A language identifier consists of a primary code optionally followed by one or more subcodes (each preceded by a hyphen).
Constructor Summary | |
---|---|
LanguageIdentifier(List<String> components)
|
|
LanguageIdentifier(String... components)
|
Method Summary | |
---|---|
LanguageIdentifier |
clone(Document context)
Gets a clone of the object, registered inside the given document context. |
List<String> |
getComponents()
Gets the identifier components: the first one is the primary code. |
void |
setComponents(List<String> value)
|
static LanguageIdentifier |
wrap(PdfDirectObject baseObject)
Wraps a language identifier base object into a language identifier object. |
Methods inherited from class org.pdfclown.objects.PdfObjectWrapper |
---|
checkCompatibility, delete, equals, exists, getBaseDataObject, getBaseObject, getBaseObject, getContainer, getDataContainer, getDocument, getFile, getMetadata, retrieveName, retrieveNamedBaseObject, setBaseObject, setMetadata |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LanguageIdentifier(String... components)
public LanguageIdentifier(List<String> components)
Method Detail |
---|
public static LanguageIdentifier wrap(PdfDirectObject baseObject)
public LanguageIdentifier clone(Document context)
PdfObjectWrapper
clone
in class PdfObjectWrapper<PdfTextString>
context
- Which document the clone has to be registered in.public List<String> getComponents()
en
for English);i
, designating an IANA-registered identifier;x
, for private use;en-US
);en-cockney
)
public void setComponents(List<String> value)
getComponents()
|
PDF Clown 0.1.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |