|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object se.biltmore.tools.odttoapt.maven.plugin.models.APT se.biltmore.tools.odttoapt.maven.plugin.models.APTDocumentAttribute
public class APTDocumentAttribute
This represents one of 'title', 'author', and 'date' document attributes.
An APT document has these 3 attributes that are optional and must come first in the document. This model indicates which of the 3 values it represents. When this model is added to APTDocument it checks what type of value it represents and saves it as that value.
Field Summary | |
---|---|
static byte |
AUTHOR
Indicates that this model represents the document author. |
static byte |
DATE
Indicates that this model represent the document date. |
static byte |
TITLE
Indicates that this model represents the document title. |
private byte |
type
The type of attribute. |
Constructor Summary | |
---|---|
APTDocumentAttribute(byte type)
Creates a new APTDocumentAttribute instance. |
Method Summary | |
---|---|
boolean |
isAuthor()
Returns true if this is an author attribute. |
boolean |
isDate()
Returns true if this is a date attribute. |
boolean |
isTitle()
Returns true if this is a title attribute. |
Methods inherited from class se.biltmore.tools.odttoapt.maven.plugin.models.APT |
---|
done, formatText, getParent, getUnformattedValue, getValue, hasValue, isAllowFormat, isLink, setAllowFormat, setLink, setParent, setValue, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final byte TITLE
public static final byte AUTHOR
public static final byte DATE
private byte type
Constructor Detail |
---|
public APTDocumentAttribute(byte type)
type
- The type of this document attrubute.Method Detail |
---|
public boolean isTitle()
public boolean isAuthor()
public boolean isDate()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |