org.xcmis.restatom.abdera
Class PropertyElement<T extends org.xcmis.spi.model.impl.BaseProperty<?>>

java.lang.Object
  extended by org.apache.abdera.model.ElementWrapper
      extended by org.apache.abdera.model.ExtensibleElementWrapper
          extended by org.xcmis.restatom.abdera.PropertyElement<T>
All Implemented Interfaces:
Cloneable, Iterable<org.apache.abdera.model.Element>, org.apache.abdera.model.Base, org.apache.abdera.model.Element, org.apache.abdera.model.ExtensibleElement
Direct Known Subclasses:
PropertyBooleanElement, PropertyDateTimeElement, PropertyDecimalElement, PropertyHtmlElement, PropertyIdElement, PropertyIntegerElement, PropertyStringElement, PropertyUriElement

public abstract class PropertyElement<T extends org.xcmis.spi.model.impl.BaseProperty<?>>
extends org.apache.abdera.model.ExtensibleElementWrapper

Version:
$Id: PropertyElement.java 2 2010-02-04 17:21:49Z andrew00x $
Author:
Andrey Parfonov

Constructor Summary
PropertyElement(org.apache.abdera.model.Element internal)
          Instantiates a new property element.
PropertyElement(org.apache.abdera.factory.Factory factory, QName qname)
          Instantiates a new property element.
 
Method Summary
 void build(T property)
          Builds the element.
abstract  T getProperty()
          Gets the property.
protected  void processPropertyElement(T obj)
          Process property element.
 
Methods inherited from class org.apache.abdera.model.ExtensibleElementWrapper
addExtension, addExtension, addExtension, addExtension, addExtension, addSimpleExtension, addSimpleExtension, getExtension, getExtension, getExtensions, getExtensions, getExtensions, getExtInternal, getMustPreserveWhitespace, getSimpleExtension, getSimpleExtension, setMustPreserveWhitespace
 
Methods inherited from class org.apache.abdera.model.ElementWrapper
addComment, clone, complete, declareNS, discard, equals, getAttributes, getAttributeValue, getAttributeValue, getBaseUri, getDefaultWriterOptions, getDocument, getElements, getExtensionAttributes, getFactory, getFirstChild, getFirstChild, getInternal, getLanguage, getLanguageTag, getLocale, getNamespaces, getNextSibling, getNextSibling, getParentElement, getPreviousSibling, getPreviousSibling, getQName, getResolvedBaseUri, getText, hashCode, iterator, removeAttribute, removeAttribute, setAttributeValue, setAttributeValue, setBaseUri, setBaseUri, setLanguage, setParentElement, setText, setText, toString, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.abdera.model.Element
declareNS, discard, getAttributes, getAttributeValue, getAttributeValue, getBaseUri, getDocument, getElements, getExtensionAttributes, getFirstChild, getFirstChild, getLanguage, getLanguageTag, getLocale, getNamespaces, getNextSibling, getNextSibling, getParentElement, getPreviousSibling, getPreviousSibling, getQName, getResolvedBaseUri, getText, removeAttribute, removeAttribute, setAttributeValue, setAttributeValue, setBaseUri, setBaseUri, setLanguage, 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
 

Constructor Detail

PropertyElement

public PropertyElement(org.apache.abdera.model.Element internal)
Instantiates a new property element.

Parameters:
internal - the internal

PropertyElement

public PropertyElement(org.apache.abdera.factory.Factory factory,
                       QName qname)
Instantiates a new property element.

Parameters:
factory - the factory
qname - the qname
Method Detail

build

public void build(T property)
Builds the element.

Parameters:
property - the property

getProperty

public abstract T getProperty()
Gets the property.

Returns:
the property

processPropertyElement

protected void processPropertyElement(T obj)
Process property element.

Parameters:
obj - the obj


Copyright © 2011 eXo Platform SAS. All Rights Reserved.