|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
XML field descriptor. Wraps FieldDescriptor
and adds
XML-related information, type conversion, etc.
Method Summary | |
java.lang.String |
getNameSpacePrefix()
Return the "suggested" namespace prefix to use when marshalling as XML. |
java.lang.String |
getNameSpaceURI()
Returns the namespace URI to be used when marshalling and unmarshalling as XML. |
NodeType |
getNodeType()
Returns the NodeType of the Field being described. |
FieldValidator |
getValidator()
Returns a specific validator for the field described by this descriptor. |
java.lang.String |
getXMLName()
Returns the XML Name for the field being described. |
boolean |
isIncremental()
Returns the incremental flag which when true indicates that this member may be safely added before the unmarshaller is finished unmarshalling it. |
boolean |
isMultivalued()
Returns true if the field described by this descriptor can contain more than one value |
boolean |
isReference()
Returns true if the field described by this descriptor is a reference (ie. |
boolean |
matches(java.lang.String xmlName)
Returns true if this descriptor can be used to handle elements or attributes with the given XML name. |
Methods inherited from interface org.exolab.castor.mapping.FieldDescriptor |
getClassDescriptor,
getContainingClassDescriptor,
getFieldName,
getFieldType,
getHandler,
isImmutable,
isRequired,
isTransient,
setContainingClassDescriptor |
Method Detail |
public java.lang.String getNameSpacePrefix()
public java.lang.String getNameSpaceURI()
public NodeType getNodeType()
public FieldValidator getValidator()
public java.lang.String getXMLName()
public boolean isIncremental()
public boolean isMultivalued()
public boolean isReference()
public boolean matches(java.lang.String xmlName)
xmlName
- the XML name to compare
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |