Class FoWidowsAttribute
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.fo.FoWidowsAttribute
- All Implemented Interfaces:
- Serializable,- Cloneable,- Attr,- EventTarget,- Node,- NodeList,- TypeInfo
DOM implementation of OpenDocument attribute @fo:widows.
- See Also:
- 
Field SummaryFieldsFields inherited from class org.apache.xerces.dom.AttrNSImpllocalName, namespaceURIFields inherited from class org.apache.xerces.dom.NodeImplDOCUMENT_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_NODEFields inherited from interface org.w3c.dom.NodeATTRIBUTE_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_NODEFields inherited from interface org.w3c.dom.TypeInfoDERIVATION_EXTENSION, DERIVATION_LIST, DERIVATION_RESTRICTION, DERIVATION_UNION
- 
Constructor SummaryConstructorsConstructorDescriptionFoWidowsAttribute(OdfFileDom ownerDocument) Create the instance of OpenDocument attribute @fo:widows.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the default value of @fo:widows.getName()Returns the attribute name.booleanDefault value indicator.intintValue()booleanisId()voidsetIntValue(int value) Methods inherited from class org.apache.xerces.dom.AttrNSImplgetLocalName, getNamespaceURI, getPrefix, getTypeName, getTypeNamespace, isDerivedFrom, setPrefixMethods inherited from class org.apache.xerces.dom.AttrImplcloneNode, 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, toStringMethods inherited from class org.apache.xerces.dom.NodeImpladdEventListener, 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, synchronizeDataMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.w3c.dom.NodeappendChild, compareDocumentPosition, getAttributes, getBaseURI, getFeature, getNextSibling, getOwnerDocument, getParentNode, getPreviousSibling, getTextContent, getUserData, hasAttributes, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, setTextContent, setUserData
- 
Field Details- 
ATTRIBUTE_NAME
 
- 
- 
Constructor Details- 
FoWidowsAttributeCreate the instance of OpenDocument attribute @fo:widows.- Parameters:
- ownerDocument- The type is- OdfFileDom
 
 
- 
- 
Method Details- 
getOdfNameReturns the attribute name.- Specified by:
- getOdfNamein class- OdfAttribute
- Returns:
- the OdfNamefor @fo:widows.
 
- 
getName
- 
setIntValuepublic void setIntValue(int value) - Parameters:
- value- The- intvalue of the attribute.
 
- 
intValuepublic int intValue()- Returns:
- Returns the intvalue of the attribute
 
- 
getDefaultReturns the default value of @fo:widows.- Specified by:
- getDefaultin class- OdfAttribute
- Returns:
- the default value as Stringdependent of its element name returnnullif the default value does not exist
 
- 
hasDefaultpublic 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 class- OdfAttribute
- Returns:
- trueif @fo:widows has an element parent otherwise return- falseas undefined.
 
- 
isIdpublic boolean isId()
 
-