org.wso2.carbon.registry.app
Class Property

java.lang.Object
  extended by org.apache.abdera.model.ElementWrapper
      extended by org.apache.abdera.model.ExtensibleElementWrapper
          extended by org.wso2.carbon.registry.app.Property
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Iterable<org.apache.abdera.model.Element>, org.apache.abdera.model.Base, org.apache.abdera.model.Element, org.apache.abdera.model.ExtensibleElement

public class Property
extends org.apache.abdera.model.ExtensibleElementWrapper

Implementation of an ExtensibleElement for a property.


Constructor Summary
Property(org.apache.abdera.model.Element internal)
          Creates a property extensible element using the given internal element.
Property(org.apache.abdera.factory.Factory factory, javax.xml.namespace.QName qName)
          Creates a property extensible element using the given factory and the qualified name.
 
Method Summary
 void addName(PropertyName propertyName)
          Method to set a property name as an extension.
 void addValue(PropertyValue propertyValue)
          Method to set a property value as an extension.
 
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

Property

public Property(org.apache.abdera.model.Element internal)
Creates a property extensible element using the given internal element.

Parameters:
internal - the internal element.

Property

public Property(org.apache.abdera.factory.Factory factory,
                javax.xml.namespace.QName qName)
Creates a property extensible element using the given factory and the qualified name.

Parameters:
factory - the factory
qName - the qualified name.
Method Detail

addName

public void addName(PropertyName propertyName)
Method to set a property name as an extension.

Parameters:
propertyName - the property name to set.
See Also:
PropertyName

addValue

public void addValue(PropertyValue propertyValue)
Method to set a property value as an extension.

Parameters:
propertyValue - the property value to set.
See Also:
PropertyValue


Copyright © 2011 WSO2 Inc. All Rights Reserved.