public class PresentationObjectAttribute extends OdfAttribute
Modifier and Type | Class and Description |
---|---|
static class |
PresentationObjectAttribute.Value
The value set of presentation:object.
|
Modifier and Type | Field and Description |
---|---|
static OdfName |
ATTRIBUTE_NAME |
localName, namespaceURI
DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_IS_CONTAINED, DOCUMENT_POSITION_PRECEDING, ELEMENT_DEFINITION_NODE, FIRSTCHILD, flags, HASSTRING, ID, IGNORABLEWS, NORMALIZED, OWNED, ownerNode, READONLY, SPECIFIED, SYNCCHILDREN, SYNCDATA, TREE_POSITION_ANCESTOR, TREE_POSITION_DESCENDANT, TREE_POSITION_DISCONNECTED, TREE_POSITION_EQUIVALENT, TREE_POSITION_FOLLOWING, TREE_POSITION_PRECEDING, TREE_POSITION_SAME_NODE
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
DERIVATION_EXTENSION, DERIVATION_LIST, DERIVATION_RESTRICTION, DERIVATION_UNION
Constructor and Description |
---|
PresentationObjectAttribute(OdfFileDom ownerDocument)
Create the instance of OpenDocument attribute presentation:object.
|
Modifier and Type | Method and Description |
---|---|
String |
getDefault()
Returns the default value of presentation:object.
|
PresentationObjectAttribute.Value |
getEnumValue() |
String |
getName() |
OdfName |
getOdfName()
Returns the attribute name.
|
boolean |
hasDefault()
Default value indicator.
|
boolean |
isId() |
void |
setEnumValue(PresentationObjectAttribute.Value attrValue) |
getLocalName, getNamespaceURI, getPrefix, getTypeName, getTypeNamespace, isDerivedFrom, setPrefix
cloneNode, getChildNodes, getElement, getFirstChild, getLastChild, getLength, getNodeName, getNodeType, getNodeValue, getOwnerElement, getSchemaTypeInfo, getSpecified, getValue, hasChildNodes, insertBefore, isEqualNode, item, makeChildNode, normalize, removeChild, replaceChild, setIdAttribute, setNodeValue, setOwnerDocument, setReadOnly, setSpecified, setType, setValue, synchronizeChildren, toString
addEventListener, appendChild, changed, changes, compareDocumentPosition, compareTreePosition, dispatchEvent, getAttributes, getBaseURI, getContainer, getFeature, getNextSibling, getNodeNumber, getOwnerDocument, getParentNode, getPreviousSibling, getReadOnly, getTextContent, getUserData, getUserData, getUserDataRecord, hasAttributes, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, needsSyncChildren, removeEventListener, setTextContent, setUserData, setUserData, synchronizeData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
appendChild, compareDocumentPosition, getAttributes, getBaseURI, getFeature, getNextSibling, getOwnerDocument, getParentNode, getPreviousSibling, getTextContent, getUserData, hasAttributes, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, setTextContent, setUserData
public static final OdfName ATTRIBUTE_NAME
public PresentationObjectAttribute(OdfFileDom ownerDocument)
ownerDocument
- The type is OdfFileDom
public OdfName getOdfName()
getOdfName
in class OdfAttribute
OdfName
for presentation:object.public String getName()
public void setEnumValue(PresentationObjectAttribute.Value attrValue)
attrValue
- The Enum
value of the attribute.public PresentationObjectAttribute.Value getEnumValue()
Enum
value of the attributepublic String getDefault()
getDefault
in class OdfAttribute
String
dependent of its element name return
null
if the default value does not existpublic boolean hasDefault()
hasDefault
in class OdfAttribute
true
if presentation:object has an element parent
otherwise return false
as undefined.Copyright © 2008–2018 Apache Software Foundation; Copyright © 2018–2020 The Document Foundation. All rights reserved.