org.apache.lucene.gdata.gom.core
Class GOMAttributeImpl
java.lang.Object
org.apache.lucene.gdata.gom.core.GOMAttributeImpl
- All Implemented Interfaces:
- GOMAttribute, GOMXmlEntity
public class GOMAttributeImpl
- extends Object
- implements GOMAttribute
- Author:
- Simon Willnauer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GOMAttributeImpl
public GOMAttributeImpl()
GOMAttributeImpl
public GOMAttributeImpl(String localName,
String value)
- Parameters:
localName
- value
-
GOMAttributeImpl
public GOMAttributeImpl(String namespaceUri,
String namespacePrefix,
String localName,
String value)
- Parameters:
namespaceUri
- namespacePrefix
- localName
- value
-
getQname
public javax.xml.namespace.QName getQname()
- Specified by:
getQname
in interface GOMXmlEntity
- Returns:
- - the entities QName
- See Also:
GOMXmlEntity.getQname()
setLocalName
public void setLocalName(String aLocalName)
- Specified by:
setLocalName
in interface GOMXmlEntity
- Parameters:
aLocalName
- - the localname of the entitiy- See Also:
GOMXmlEntity.setLocalName(java.lang.String)
getLocalName
public String getLocalName()
- Specified by:
getLocalName
in interface GOMXmlEntity
- Returns:
- - the local name of the entitiy
- See Also:
GOMXmlEntity.getLocalName()
getTextValue
public String getTextValue()
- Specified by:
getTextValue
in interface GOMXmlEntity
- Returns:
- - the text value of the entity
- See Also:
GOMXmlEntity.getTextValue()
setTextValue
public void setTextValue(String aTextValue)
- Specified by:
setTextValue
in interface GOMXmlEntity
- Parameters:
aTextValue
- - the text value of the entity- See Also:
GOMXmlEntity.setTextValue(java.lang.String)
hasDefaultNamespace
public boolean hasDefaultNamespace()
- Specified by:
hasDefaultNamespace
in interface GOMAttribute
- Returns:
true
if and only if this attribute has the default
namespace, otherwise false
- See Also:
GOMAttribute.hasDefaultNamespace()
setNamespaceUri
public void setNamespaceUri(String aString)
- Specified by:
setNamespaceUri
in interface GOMXmlEntity
- Parameters:
aString
- - the namespace uri to set- See Also:
GOMXmlEntity.setNamespaceUri(java.lang.String)
setNamespacePrefix
public void setNamespacePrefix(String aString)
- Specified by:
setNamespacePrefix
in interface GOMXmlEntity
- Parameters:
aString
- - the namespace prefix to set- See Also:
GOMXmlEntity.setNamespacePrefix(java.lang.String)
Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.