|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xerces.dom.NodeImpl org.apache.xerces.dom.AttrImpl org.apache.xerces.dom.AttrNSImpl org.odftoolkit.odfdom.pkg.OdfAttribute
public abstract class OdfAttribute
Base class for all attributes of the OpenDocument format
Field Summary |
---|
Fields inherited from class org.apache.xerces.dom.AttrNSImpl |
---|
localName, namespaceURI |
Fields inherited from class org.apache.xerces.dom.AttrImpl |
---|
name, textNode, value |
Fields inherited from interface org.w3c.dom.TypeInfo |
---|
DERIVATION_EXTENSION, DERIVATION_LIST, DERIVATION_RESTRICTION, DERIVATION_UNION |
Constructor Summary | |
---|---|
OdfAttribute(OdfFileDom ownerDocument,
OdfName name)
Creates a new instance of OdfAttribute |
|
OdfAttribute(OdfFileDom ownerDocument,
String namespaceURI,
String qualifiedName)
Creates a new instance of OdfAttribute |
Method Summary | |
---|---|
abstract String |
getDefault()
Returns the default value of table:number-columns-repeated. |
abstract OdfName |
getOdfName()
Returns the attribute name. |
abstract boolean |
hasDefault()
Default value indicator |
Methods inherited from class org.apache.xerces.dom.AttrNSImpl |
---|
getLocalName, getNamespaceURI, getPrefix, getTypeName, getTypeNamespace, isDerivedFrom, setPrefix, setValues |
Methods inherited from class org.apache.xerces.dom.AttrImpl |
---|
cloneNode, getChildNodes, getElement, getFirstChild, getLastChild, getLength, getName, getNodeName, getNodeType, getNodeValue, getOwnerElement, getSchemaTypeInfo, getSpecified, getValue, hasChildNodes, insertBefore, isEqualNode, isId, 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 |
Constructor Detail |
---|
public OdfAttribute(OdfFileDom ownerDocument, String namespaceURI, String qualifiedName) throws DOMException
ownerDocument
- - the document the attribute belongs tonamespaceURI
- - The namespace URI of the attribute to create. When it is null or an empty string, this method behaves like createAttribute.qualifiedName
- - The qualified name of the attribute to instantiate.
DOMException
- - if the attribute could not be createdpublic OdfAttribute(OdfFileDom ownerDocument, OdfName name) throws DOMException
ownerDocument
- - the document the attribute belongs toname
- - the OdfName
representation of the attribute name.
DOMException
- - if the attribute could not be createdMethod Detail |
---|
public abstract OdfName getOdfName()
OdfName
for the attribute.public abstract String getDefault()
public abstract boolean hasDefault()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |