public class ExistingCaptionLabel
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ExistingCaptionLabel.Kind |
Modifier and Type | Field and Description |
---|---|
java.lang.String |
id
String representation of ID describing type.
|
boolean |
isBuiltIn
If true, this is a built-in caption label.
|
ExistingCaptionLabel.Kind |
kind |
java.lang.String |
name
Label text.
|
Constructor and Description |
---|
ExistingCaptionLabel(java.lang.String name,
java.lang.String id,
boolean isBuiltIn,
ExistingCaptionLabel.Kind kind)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isUsableFor(CaptionKind cKind) |
java.lang.String |
toString() |
public final java.lang.String name
public final java.lang.String id
public final boolean isBuiltIn
public final ExistingCaptionLabel.Kind kind
public ExistingCaptionLabel(java.lang.String name, java.lang.String id, boolean isBuiltIn, ExistingCaptionLabel.Kind kind)
name
- id
- although String, could be also number (like in e.g. .docx document);
implementation has to cast to appropriate type used for IDisBuiltIn
- kind
- public boolean isUsableFor(CaptionKind cKind)
public java.lang.String toString()
toString
in class java.lang.Object
Copyright 2009-2016 Tatjana (Tanja) Kostic