|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.exolab.castor.xml.descriptors.BaseDescriptor
| Constructor Summary | |
BaseDescriptor()
|
|
| Method Summary | |
boolean |
canAccept(java.lang.String name,
java.lang.String namespace,
java.lang.Object object)
Returns true if the given object represented by this XMLClassDescriptor can accept a member whose name is given. |
void |
checkDescriptorForCorrectOrderWithinSequence(XMLFieldDescriptor elementDescriptor,
UnmarshalState parentState,
java.lang.String xmlName)
Checks whether the given XMLFieldDescriptor is the one actually expected, given the natural order as defined by a sequence definition |
boolean |
isChoice()
Indicates whether the XML artifact described by this descriptor is a |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.exolab.castor.xml.XMLClassDescriptor |
getAttributeDescriptors, getContentDescriptor, getElementDescriptors, getFieldDescriptor, getNameSpacePrefix, getNameSpaceURI, getValidator, getXMLName |
| Methods inherited from interface org.exolab.castor.mapping.ClassDescriptor |
getExtends, getFields, getIdentity, getJavaClass |
| Constructor Detail |
public BaseDescriptor()
| Method Detail |
public boolean canAccept(java.lang.String name,
java.lang.String namespace,
java.lang.Object object)
This is mainly used for container object (that can contain other objects), in this particular case the implementation returns false.
canAccept in interface XMLClassDescriptorname - the name of the field to checknamespace - the namespace of the element. This may be null. Note: A
null namespace is not the same as the default namespace unless the
default namespace is also null.object - the object represented by this XMLCLassDescriptor
public void checkDescriptorForCorrectOrderWithinSequence(XMLFieldDescriptor elementDescriptor,
UnmarshalState parentState,
java.lang.String xmlName)
throws ValidationException
checkDescriptorForCorrectOrderWithinSequence in interface XMLClassDescriptorelementDescriptor - The XML field descriptor to be checkedxmlName - TODO
ValidationException - If the descriptor is not the one expectedcheckDescriptorForCorrectOrderWithinSequence(org.exolab.castor.xml.XMLFieldDescriptor,
org.exolab.castor.xml.UnmarshalState, java.lang.String)public boolean isChoice()
isChoice in interface XMLClassDescriptorXMLClassDescriptor.isChoice()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||