|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jsefa.xml.mapping.ElementDescriptor
public final class ElementDescriptor
Descriptor for an xml element.
Instances of this class are immutable and thread safe.
Constructor Summary | |
---|---|
ElementDescriptor(QName name,
QName dataTypeName)
Constructs a new ElementDescriptor . |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
QName |
getDataTypeName()
Returns the name of the data type of the element. |
QName |
getName()
Returns the name of the element. |
XmlNodeType |
getType()
|
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ElementDescriptor(QName name, QName dataTypeName)
ElementDescriptor
.
name
- the name of the element - may be null if the node is virtual, i. e. if the node groups other
nodes without having an own representation, e. g. an implicit list.dataTypeName
- the name of its data type - may be null for simplified element descriptors. If null the
name must not be null.Method Detail |
---|
public XmlNodeType getType()
getType
in interface NodeDescriptor<XmlNodeType>
public QName getName()
May be null if the node is virtual, i. e. if the node groups other nodes without having an own representation, e. g. an implicit list.
public QName getDataTypeName()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |