org.apache.axis.description
Class FieldDesc
java.lang.Object
|
+--org.apache.axis.description.FieldDesc
- Direct Known Subclasses:
- AttributeDesc, ElementDesc
- public class FieldDesc
- extends java.lang.Object
FieldDescs are metadata objects which control the mapping of a given
Java field to/from XML.
- Author:
- Glen Daniels (gdaniels@apache.org)
Constructor Summary |
protected |
FieldDesc(boolean isElement)
Can't construct the base class directly, must construct either an
ElementDesc or an AttributeDesc. |
Method Summary |
java.lang.String |
getFieldName()
Obtain the field name. |
QName |
getXmlName()
Obtain the XML QName for this field |
boolean |
isElement()
Check if this is an element or an attribute. |
void |
setFieldName(java.lang.String fieldName)
Set the field name. |
void |
setXmlName(QName xmlName)
Set the XML QName for this field |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FieldDesc
protected FieldDesc(boolean isElement)
- Can't construct the base class directly, must construct either an
ElementDesc or an AttributeDesc.
getFieldName
public java.lang.String getFieldName()
- Obtain the field name.
setFieldName
public void setFieldName(java.lang.String fieldName)
- Set the field name.
getXmlName
public QName getXmlName()
- Obtain the XML QName for this field
setXmlName
public void setXmlName(QName xmlName)
- Set the XML QName for this field
isElement
public boolean isElement()
- Check if this is an element or an attribute.
- Returns:
- true if this is an ElementDesc, or false if an AttributeDesc
Copyright © 2001 Apache XML Project. All Rights Reserved.