org.apache.abdera.model
Interface Div

All Superinterfaces:
Base, Cloneable, Element, ExtensibleElement, Iterable<Element>

public interface Div
extends ExtensibleElement

Represents an XHTML div tag.


Method Summary
 String getId()
          Returns the value of the div element's id attribute
 String getTitle()
          Returns the value of the div element's title attribute
 String getValue()
          Returns the value of the div element
 String[] getXhtmlClass()
          Returns the array of class attribute values on the div
 Div setId(String id)
          Sets the value of the div element's id attribute
 Div setTitle(String title)
          Set the value of the div element's title attribute
 void setValue(String value)
          Set the value of the div element
 Div setXhtmlClass(String[] classes)
          Sets the array of class attribute values on the div
 
Methods inherited from interface org.apache.abdera.model.ExtensibleElement
addExtension, addExtension, addExtension, addExtension, addExtension, addSimpleExtension, addSimpleExtension, getExtension, getExtension, getExtensions, getExtensions, getExtensions, getSimpleExtension, getSimpleExtension
 
Methods inherited from interface org.apache.abdera.model.Element
declareNS, discard, getAttributes, getAttributeValue, getAttributeValue, getBaseUri, getDocument, getElements, getExtensionAttributes, getFirstChild, getFirstChild, getLanguage, getLanguageTag, getLocale, getMustPreserveWhitespace, getNamespaces, getNextSibling, getNextSibling, getParentElement, getPreviousSibling, getPreviousSibling, getQName, getResolvedBaseUri, getText, removeAttribute, removeAttribute, setAttributeValue, setAttributeValue, setBaseUri, setBaseUri, setLanguage, setMustPreserveWhitespace, setParentElement, setText, setText
 
Methods inherited from interface org.apache.abdera.model.Base
addComment, clone, complete, getDefaultWriterOptions, getFactory, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo
 
Methods inherited from interface java.lang.Iterable
iterator
 

Method Detail

getXhtmlClass

String[] getXhtmlClass()
Returns the array of class attribute values on the div

Returns:
A listing of class attribute values

getId

String getId()
Returns the value of the div element's id attribute

Returns:
The value of the id attribute

getTitle

String getTitle()
Returns the value of the div element's title attribute

Returns:
The value of the title attribute

setId

Div setId(String id)
Sets the value of the div element's id attribute

Parameters:
id - The value of the id attribute

setTitle

Div setTitle(String title)
Set the value of the div element's title attribute

Parameters:
title - The value of the title attribute

setXhtmlClass

Div setXhtmlClass(String[] classes)
Sets the array of class attribute values on the div

Parameters:
classes - A listing of class attribute values

getValue

String getValue()
Returns the value of the div element

Returns:
The value of the div element

setValue

void setValue(String value)
Set the value of the div element

Parameters:
value - The text value


Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.