com.liferay.portal.xml
Class AttributeImpl

java.lang.Object
  extended by com.liferay.portal.xml.NodeImpl
      extended by com.liferay.portal.xml.AttributeImpl
All Implemented Interfaces:
com.liferay.portal.kernel.xml.Attribute, com.liferay.portal.kernel.xml.Node

public class AttributeImpl
extends NodeImpl
implements com.liferay.portal.kernel.xml.Attribute

View Source

Author:
Brian Wing Shun Chan

Constructor Summary
AttributeImpl(org.dom4j.Attribute attribute)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.Object getData()
           
 com.liferay.portal.kernel.xml.Namespace getNamespace()
           
 java.lang.String getNamespacePrefix()
           
 java.lang.String getNamespaceURI()
           
 com.liferay.portal.kernel.xml.QName getQName()
           
 java.lang.String getQualifiedName()
           
 java.lang.String getValue()
           
 org.dom4j.Attribute getWrappedAttribute()
           
 int hashCode()
           
 void setData(java.lang.Object data)
           
 void setNamespace(com.liferay.portal.kernel.xml.Namespace namespace)
           
 void setValue(java.lang.String value)
           
 
Methods inherited from class com.liferay.portal.xml.NodeImpl
asXML, asXPathResult, detach, getDocument, getName, getParent, getPath, getPath, getStringValue, getText, getUniquePath, getUniquePath, getWrappedNode, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setName, setText, supportsParent, valueOf, write
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.kernel.xml.Node
asXML, asXPathResult, detach, getDocument, getName, getParent, getPath, getPath, getStringValue, getText, getUniquePath, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setName, setText, supportsParent, valueOf, write
 

Constructor Detail

AttributeImpl

public AttributeImpl(org.dom4j.Attribute attribute)
Method Detail

getData

public java.lang.Object getData()
Specified by:
getData in interface com.liferay.portal.kernel.xml.Attribute

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class NodeImpl

getNamespace

public com.liferay.portal.kernel.xml.Namespace getNamespace()
Specified by:
getNamespace in interface com.liferay.portal.kernel.xml.Attribute

getNamespacePrefix

public java.lang.String getNamespacePrefix()
Specified by:
getNamespacePrefix in interface com.liferay.portal.kernel.xml.Attribute

getNamespaceURI

public java.lang.String getNamespaceURI()
Specified by:
getNamespaceURI in interface com.liferay.portal.kernel.xml.Attribute

getQName

public com.liferay.portal.kernel.xml.QName getQName()
Specified by:
getQName in interface com.liferay.portal.kernel.xml.Attribute

getQualifiedName

public java.lang.String getQualifiedName()
Specified by:
getQualifiedName in interface com.liferay.portal.kernel.xml.Attribute

getValue

public java.lang.String getValue()
Specified by:
getValue in interface com.liferay.portal.kernel.xml.Attribute

getWrappedAttribute

public org.dom4j.Attribute getWrappedAttribute()

hashCode

public int hashCode()
Overrides:
hashCode in class NodeImpl

setData

public void setData(java.lang.Object data)
Specified by:
setData in interface com.liferay.portal.kernel.xml.Attribute

setNamespace

public void setNamespace(com.liferay.portal.kernel.xml.Namespace namespace)
Specified by:
setNamespace in interface com.liferay.portal.kernel.xml.Attribute

setValue

public void setValue(java.lang.String value)
Specified by:
setValue in interface com.liferay.portal.kernel.xml.Attribute