org.ow2.jonas.deployment.common.xml
Class Qname

java.lang.Object
  extended by org.ow2.jonas.deployment.common.xml.AbsElement
      extended by org.ow2.jonas.deployment.common.xml.Qname
All Implemented Interfaces:
Serializable, Element

public class Qname
extends AbsElement

This class defines an implementation for a QName It is use by Soap-Header or Service-qname

Author:
Florent Benoit
See Also:
Serialized Form

Constructor Summary
Qname()
          Constructor : build a new object
 
Method Summary
 QName getQName()
           
 void setName(String name)
          Sets the Name of this object
 void setQName(QName qName)
          Sets the QName of this object
 String toXML(int indent)
          Represents this element by it's XML description.
 
Methods inherited from class org.ow2.jonas.deployment.common.xml.AbsElement
indent, toString, toXML, xmlAttribute, xmlElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Qname

public Qname()
Constructor : build a new object

Method Detail

setQName

public void setQName(QName qName)
Sets the QName of this object

Parameters:
qName - QName of this object

setName

public void setName(String name)
Sets the Name of this object

Parameters:
name - name of this object

getQName

public QName getQName()
Returns:
the QName of this object

toXML

public String toXML(int indent)
Represents this element by it's XML description.

Specified by:
toXML in interface Element
Specified by:
toXML in class AbsElement
Parameters:
indent - use this indent for prexifing XML representation.
Returns:
the XML description of this object.


Copyright © 2010 OW2 Consortium. All Rights Reserved.