com.jxml.quick.ocm
Class OCMattribute

java.lang.Object
  |
  +--com.jxml.quick.ocm.OCMattribute
All Implemented Interfaces:
QName

public class OCMattribute
extends Object
implements QName

Generic attribute model.


Field Summary
 String name
           
 String text
           
 
Constructor Summary
OCMattribute(String text)
           
OCMattribute(String name, String text)
           
 
Method Summary
 boolean equals(Object x)
           
 String getQName()
          Returns the tag name.
 void setQName(String name)
          Sets the tag name.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

public String name

text

public String text
Constructor Detail

OCMattribute

public OCMattribute(String name,
                    String text)

OCMattribute

public OCMattribute(String text)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

getQName

public String getQName()
Description copied from interface: QName
Returns the tag name.
Specified by:
getQName in interface QName

setQName

public void setQName(String name)
Description copied from interface: QName
Sets the tag name.
Specified by:
setQName in interface QName

equals

public boolean equals(Object x)
Overrides:
equals in class Object