Class TableMaximumDifferenceAttribute
- java.lang.Object
-
- org.apache.xerces.dom.NodeImpl
-
- org.apache.xerces.dom.AttrImpl
-
- org.apache.xerces.dom.AttrNSImpl
-
- org.odftoolkit.odfdom.pkg.OdfAttribute
-
- org.odftoolkit.odfdom.dom.attribute.table.TableMaximumDifferenceAttribute
-
- All Implemented Interfaces:
Serializable,Cloneable,Attr,EventTarget,Node,NodeList,TypeInfo
public class TableMaximumDifferenceAttribute extends OdfAttribute
DOM implementation of OpenDocument attribute @table:maximum-difference.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static OdfNameATTRIBUTE_NAMEstatic StringDEFAULT_VALUE-
Fields inherited from class org.apache.xerces.dom.NodeImpl
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
-
Fields inherited from interface org.w3c.dom.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
-
Fields inherited from interface org.w3c.dom.TypeInfo
DERIVATION_EXTENSION, DERIVATION_LIST, DERIVATION_RESTRICTION, DERIVATION_UNION
-
-
Constructor Summary
Constructors Constructor Description TableMaximumDifferenceAttribute(OdfFileDom ownerDocument)Create the instance of OpenDocument attribute @table:maximum-difference.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doubledoubleValue()StringgetDefault()Returns the default value of @table:maximum-difference.StringgetName()OdfNamegetOdfName()Returns the attribute name.booleanhasDefault()Default value indicator.booleanisId()voidsetDoubleValue(double value)-
Methods inherited from class org.apache.xerces.dom.AttrNSImpl
getLocalName, getNamespaceURI, getPrefix, getTypeName, getTypeNamespace, isDerivedFrom, setPrefix
-
Methods inherited from class org.apache.xerces.dom.AttrImpl
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
-
Methods inherited from class org.apache.xerces.dom.NodeImpl
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
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.w3c.dom.Node
appendChild, compareDocumentPosition, getAttributes, getBaseURI, getFeature, getNextSibling, getOwnerDocument, getParentNode, getPreviousSibling, getTextContent, getUserData, hasAttributes, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, setTextContent, setUserData
-
-
-
-
Field Detail
-
ATTRIBUTE_NAME
public static final OdfName ATTRIBUTE_NAME
-
DEFAULT_VALUE
public static final String DEFAULT_VALUE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TableMaximumDifferenceAttribute
public TableMaximumDifferenceAttribute(OdfFileDom ownerDocument)
Create the instance of OpenDocument attribute @table:maximum-difference.- Parameters:
ownerDocument- The type isOdfFileDom
-
-
Method Detail
-
getOdfName
public OdfName getOdfName()
Returns the attribute name.- Specified by:
getOdfNamein classOdfAttribute- Returns:
- the
OdfNamefor @table:maximum-difference.
-
getName
public String getName()
-
setDoubleValue
public void setDoubleValue(double value)
- Parameters:
value- Thedoublevalue of the attribute.
-
doubleValue
public double doubleValue()
- Returns:
- Returns the
doublevalue of the attribute
-
getDefault
public String getDefault()
Returns the default value of @table:maximum-difference.- Specified by:
getDefaultin classOdfAttribute- Returns:
- the default value as
Stringdependent of its element name returnnullif the default value does not exist
-
hasDefault
public boolean hasDefault()
Default value indicator. As the attribute default value is dependent from its element, the attribute has only a default, when a parent element exists.- Specified by:
hasDefaultin classOdfAttribute- Returns:
trueif @table:maximum-difference has an element parent otherwise returnfalseas undefined.
-
-