|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<QName>
se.biltmore.tools.odttoapt.maven.plugin.QName
public enum QName
This is an enum of .odt content.xml names of interest.
Field Summary | |
---|---|
private String |
qName
The qualified name. |
private char |
type
The type of qName. |
Method Summary | |
---|---|
static QName |
getAttributeByQName(String qName)
Returns the atribute by the qualified name. |
String |
getQName()
Returns the name. |
static QName |
getTagByQName(String qName)
Returns the tag by the qualified name. |
boolean |
isAPTModelTag()
Returns true if this is an APT model tag. |
boolean |
isAttribute()
Returns true if this is an attribute. |
boolean |
isOtherTag()
Returns true if this is neither an APT model tag nor an attribute. |
static QName |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static QName[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final QName None
public static final QName E_OfficeDocument
public static final QName E_Paragraph
public static final QName E_Span
public static final QName E_Link
public static final QName E_Spaces
public static final QName E_PageBreak
public static final QName E_LineBreak
public static final QName E_List
public static final QName E_ListItem
public static final QName E_Image
public static final QName E_ImageHref
public static final QName E_ImageTitle
public static final QName E_StyleExt
public static final QName A_OfficeVersion
public static final QName A_Style
public static final QName A_HRef
public static final QName A_Count
public static final QName A_ExtStyleName
public static final QName A_ExtStyleParentName
Field Detail |
---|
private String qName
private char type
Method Detail |
---|
public static QName[] values()
for (QName c : QName.values()) System.out.println(c);
public static QName valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static QName getTagByQName(String qName)
qName
- The qualified name to lookup.public static QName getAttributeByQName(String qName)
qName
- The qualified name to lookup.public boolean isAPTModelTag()
public boolean isAttribute()
public boolean isOtherTag()
public String getQName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |