Package | Description |
---|---|
org.exolab.castor.types |
The Castor implementation of specific XML Schema Types
|
org.exolab.castor.xml |
The XML Marshaller API
|
org.exolab.castor.xml.descriptors | |
org.exolab.castor.xml.util |
Modifier and Type | Field and Description |
---|---|
protected static XMLFieldDescriptor[] |
BaseDescriptor.noXMLFields
Used for returning no attribute and no element fields
|
Modifier and Type | Method and Description |
---|---|
XMLFieldDescriptor[] |
BaseDescriptor.getAttributeDescriptors()
Returns the set of XMLFieldDescriptors for all members that should be
marshalled as XML attributes.
|
XMLFieldDescriptor |
DurationDescriptor.getContentDescriptor()
Returns the XMLFieldDescriptor for the member
that should be marshalled as text content.
|
XMLFieldDescriptor |
CenturyDescriptor.getContentDescriptor()
Deprecated.
Returns the XMLFieldDescriptor for the member that should be marshalled
as text content.
|
XMLFieldDescriptor |
TimeDurationDescriptor.getContentDescriptor()
Deprecated.
Returns the XMLFieldDescriptor for the member that should be marshalled
as text content.
|
XMLFieldDescriptor |
TimePeriodDescriptor.getContentDescriptor()
Deprecated.
Returns the XMLFieldDescriptor for the member that should be marshalled
as text content.
|
XMLFieldDescriptor |
GDayDescriptor.getContentDescriptor()
Returns the XMLFieldDescriptor for the member
that should be marshalled as text content.
|
XMLFieldDescriptor |
TimeDescriptor.getContentDescriptor()
Returns the XMLFieldDescriptor for the member
that should be marshalled as text content.
|
XMLFieldDescriptor |
RecurringDurationDescriptor.getContentDescriptor()
Deprecated.
Returns the XMLFieldDescriptor for the member that should be marshalled
as text content.
|
XMLFieldDescriptor |
DateDescriptor.getContentDescriptor()
Returns the XMLFieldDescriptor for the member that should be marshalled
as text content.
|
XMLFieldDescriptor |
DateTimeDescriptor.getContentDescriptor()
Returns the XMLFieldDescriptor for the member that should be marshalled
as text content.
|
XMLFieldDescriptor |
GMonthDescriptor.getContentDescriptor()
Returns the XMLFieldDescriptor for the member that should be marshalled
as text content.
|
XMLFieldDescriptor |
GYearMonthDescriptor.getContentDescriptor()
Returns the XMLFieldDescriptor for the member
that should be marshalled as text content.
|
XMLFieldDescriptor |
MonthDescriptor.getContentDescriptor()
Deprecated.
Returns the XMLFieldDescriptor for the member that should be marshalled
as text content.
|
XMLFieldDescriptor |
GYearDescriptor.getContentDescriptor()
Returns the XMLFieldDescriptor for the member
that should be marshalled as text content.
|
XMLFieldDescriptor |
YearDescriptor.getContentDescriptor()
Deprecated.
Returns the XMLFieldDescriptor for the member that should be marshalled
as text content.
|
XMLFieldDescriptor |
BaseDescriptor.getContentDescriptor()
Returns the XMLFieldDescriptor for the member that should be marshalled
as text content.
|
XMLFieldDescriptor |
GMonthDayDescriptor.getContentDescriptor()
Returns the XMLFieldDescriptor for the member that should be marshaled
as text content.
|
XMLFieldDescriptor[] |
BaseDescriptor.getElementDescriptors()
Returns the set of XMLFieldDescriptors for all members that should be
marshalled as XML elements.
|
XMLFieldDescriptor |
BaseDescriptor.getFieldDescriptor(String name,
String namespace,
NodeType nodeType)
Returns the XML field descriptor matching the given xml name and
nodeType.
|
Modifier and Type | Method and Description |
---|---|
void |
BaseDescriptor.checkDescriptorForCorrectOrderWithinSequence(XMLFieldDescriptor elementDescriptor,
UnmarshalState parentState,
String xmlName)
Checks whether the given XMLFieldDescriptor is the one actually expected,
given the natural order as defined by a sequence definition
|
Modifier and Type | Method and Description |
---|---|
XMLFieldDescriptor[] |
XMLClassDescriptor.getAttributeDescriptors()
Returns the set of XMLFieldDescriptors for all members
that should be marshalled as XML attributes.
|
XMLFieldDescriptor |
XMLClassDescriptor.getContentDescriptor()
Returns the XMLFieldDescriptor for the member
that should be marshalled as text content.
|
XMLFieldDescriptor[] |
XMLClassDescriptor.getElementDescriptors()
Returns the set of XMLFieldDescriptors for all members
that should be marshalled as XML elements.
|
XMLFieldDescriptor |
Marshaller.NilObject.getFieldDescriptor()
Returns the associated XMLFieldDescriptor
|
XMLFieldDescriptor |
XMLClassDescriptor.getFieldDescriptor(String name,
String namespace,
NodeType nodeType)
Returns the XML field descriptor matching the given xml name, namespace, and
nodeType.
|
Modifier and Type | Method and Description |
---|---|
void |
XMLClassDescriptor.checkDescriptorForCorrectOrderWithinSequence(XMLFieldDescriptor elementDescriptor,
UnmarshalState parentState,
String xmlName)
Checks whether the given XMLFieldDescriptor is the one actually expected,
given the natural order as defined by a sequence definition
|
void |
FieldValidator.setDescriptor(XMLFieldDescriptor descriptor)
Sets the field descriptor to use for obtaining information about the
field to validate, such as the field name, the field handler, etc.
|
Modifier and Type | Method and Description |
---|---|
XMLFieldDescriptor[] |
SQLTimestampClassDescriptor.getAttributeDescriptors()
Returns the set of XMLFieldDescriptors for all members that should be
marshaled as XML attributes.
|
XMLFieldDescriptor[] |
VectorClassDescriptor.getAttributeDescriptors()
Returns the set of attribute XMLFieldDescriptors.
|
XMLFieldDescriptor[] |
LocaleDescriptor.getAttributeDescriptors()
Returns the set of XMLFieldDescriptors for all members that should be
marshaled as XML attributes.
|
XMLFieldDescriptor[] |
DateClassDescriptor.getAttributeDescriptors()
Returns the set of XMLFieldDescriptors for all members that should be
marshaled as XML attributes.
|
XMLFieldDescriptor[] |
RootArrayDescriptor.getAttributeDescriptors()
Returns the set of attribute XMLFieldDescriptors.
|
XMLFieldDescriptor[] |
SQLDateClassDescriptor.getAttributeDescriptors()
Returns the set of XMLFieldDescriptors for all members that should be
marshaled as XML attributes.
|
XMLFieldDescriptor[] |
StringClassDescriptor.getAttributeDescriptors()
Returns the set of attribute XMLFieldDescriptors.
|
XMLFieldDescriptor[] |
SQLTimeClassDescriptor.getAttributeDescriptors()
Returns the set of XMLFieldDescriptors for all members that should be
marshaled as XML attributes.
|
XMLFieldDescriptor[] |
ListClassDescriptor.getAttributeDescriptors()
Returns the set of attribute XMLFieldDescriptors.
|
XMLFieldDescriptor |
SQLTimestampClassDescriptor.getContentDescriptor()
Returns the XMLFieldDescriptor for the member that should be marshaled
as text content.
|
XMLFieldDescriptor |
VectorClassDescriptor.getContentDescriptor()
Returns the descriptor for dealing with Text content.
|
XMLFieldDescriptor |
LocaleDescriptor.getContentDescriptor()
Returns the XMLFieldDescriptor for the member that should be marshaled
as text content.
|
XMLFieldDescriptor |
DateClassDescriptor.getContentDescriptor()
Returns the XMLFieldDescriptor for the member that should be marshaled
as text content.
|
XMLFieldDescriptor |
RootArrayDescriptor.getContentDescriptor()
Returns the descriptor for dealing with Text content.
|
XMLFieldDescriptor |
SQLDateClassDescriptor.getContentDescriptor()
Returns the XMLFieldDescriptor for the member that should be marshaled
as text content.
|
XMLFieldDescriptor |
StringClassDescriptor.getContentDescriptor()
Returns the descriptor for dealing with Text content.
|
XMLFieldDescriptor |
SQLTimeClassDescriptor.getContentDescriptor()
Returns the XMLFieldDescriptor for the member that should be marshaled
as text content.
|
XMLFieldDescriptor |
ListClassDescriptor.getContentDescriptor()
Returns the descriptor for dealing with Text content.
|
XMLFieldDescriptor[] |
SQLTimestampClassDescriptor.getElementDescriptors()
Returns the set of XMLFieldDescriptors for all members that should be
marshaled as XML elements.
|
XMLFieldDescriptor[] |
VectorClassDescriptor.getElementDescriptors()
Returns the set of element MarshalDescriptors.
|
XMLFieldDescriptor[] |
LocaleDescriptor.getElementDescriptors()
Returns the set of XMLFieldDescriptors for all members that should be
marshaled as XML elements.
|
XMLFieldDescriptor[] |
DateClassDescriptor.getElementDescriptors()
Returns the set of XMLFieldDescriptors for all members that should be
marshaled as XML elements.
|
XMLFieldDescriptor[] |
RootArrayDescriptor.getElementDescriptors()
Returns the set of element MarshalDescriptors.
|
XMLFieldDescriptor[] |
SQLDateClassDescriptor.getElementDescriptors()
Returns the set of XMLFieldDescriptors for all members that should be
marshaled as XML elements.
|
XMLFieldDescriptor[] |
StringClassDescriptor.getElementDescriptors()
Returns the set of element MarshalDescriptors.
|
XMLFieldDescriptor[] |
SQLTimeClassDescriptor.getElementDescriptors()
Returns the set of XMLFieldDescriptors for all members that should be
marshaled as XML elements.
|
XMLFieldDescriptor[] |
ListClassDescriptor.getElementDescriptors()
Returns the set of element MarshalDescriptors.
|
XMLFieldDescriptor |
SQLTimestampClassDescriptor.getFieldDescriptor(String name,
String namespace,
NodeType nodeType)
Returns the XML field descriptor matching the given xml name and
nodeType.
|
XMLFieldDescriptor |
VectorClassDescriptor.getFieldDescriptor(String name,
String namespace,
NodeType nodeType)
Returns the XML field descriptor matching the given xml name and
nodeType.
|
XMLFieldDescriptor |
LocaleDescriptor.getFieldDescriptor(String name,
String namespace,
NodeType nodeType)
Returns the XML field descriptor matching the given xml name and
nodeType.
|
XMLFieldDescriptor |
DateClassDescriptor.getFieldDescriptor(String name,
String namespace,
NodeType nodeType)
Returns the XML field descriptor matching the given xml name and
nodeType.
|
XMLFieldDescriptor |
RootArrayDescriptor.getFieldDescriptor(String name,
String namespace,
NodeType nodeType)
Returns the XML field descriptor matching the given xml name and
nodeType.
|
XMLFieldDescriptor |
SQLDateClassDescriptor.getFieldDescriptor(String name,
String namespace,
NodeType nodeType)
Returns the XML field descriptor matching the given xml name and
nodeType.
|
XMLFieldDescriptor |
StringClassDescriptor.getFieldDescriptor(String name,
String namespace,
NodeType nodeType)
Returns the XML field descriptor matching the given xml name and
nodeType.
|
XMLFieldDescriptor |
SQLTimeClassDescriptor.getFieldDescriptor(String name,
String namespace,
NodeType nodeType)
Returns the XML field descriptor matching the given xml name and
nodeType.
|
XMLFieldDescriptor |
ListClassDescriptor.getFieldDescriptor(String name,
String namespace,
NodeType nodeType)
Returns the XML field descriptor matching the given xml name and
nodeType.
|
Modifier and Type | Method and Description |
---|---|
void |
BaseDescriptor.checkDescriptorForCorrectOrderWithinSequence(XMLFieldDescriptor elementDescriptor,
UnmarshalState parentState,
String xmlName)
Checks whether the given XMLFieldDescriptor is the one actually expected,
given the natural order as defined by a sequence definition
|
Modifier and Type | Class and Description |
---|---|
class |
XMLContainerElementFieldDescriptor |
class |
XMLFieldDescriptorImpl
XML field descriptor.
|
Modifier and Type | Method and Description |
---|---|
XMLFieldDescriptor |
XMLFieldDescriptors.get(int index)
Returns the XMLFieldDescriptor at the specified position in this list.
|
XMLFieldDescriptor[] |
XMLClassDescriptorImpl.getAttributeDescriptors()
Returns the set of XMLFieldDescriptors for all members that should be
marshalled as XML attributes.
|
XMLFieldDescriptor |
XMLClassDescriptorImpl.getContentDescriptor()
Returns the XMLFieldDescriptor for the member that should be marshalled
as text content.
|
XMLFieldDescriptor[] |
XMLClassDescriptorImpl.getElementDescriptors()
Returns the set of XMLFieldDescriptors for all members
that should be marshalled as XML elements.
|
XMLFieldDescriptor |
XMLClassDescriptorImpl.getFieldDescriptor(String name,
String namespace,
NodeType nodeType)
Returns the XML field descriptor matching the given xml name and
nodeType.
|
XMLFieldDescriptor |
XMLFieldDescriptors.remove(int index)
Removes the descriptor at the specified index from the list.
|
XMLFieldDescriptor[] |
XMLFieldDescriptors.toArray()
Returns an array containing all of the descriptors in this list
in proper sequence.
|
XMLFieldDescriptor[] |
XMLFieldDescriptors.toArray(XMLFieldDescriptor[] dst)
Returns an array containing all of the descriptors in this list
in proper sequence.
|
XMLFieldDescriptor[] |
XMLFieldDescriptors.toArray(XMLFieldDescriptor[] dst,
int offset)
Returns an array containing all of the elements in this list
in proper sequence.
|
Modifier and Type | Method and Description |
---|---|
boolean |
XMLFieldDescriptors.add(XMLFieldDescriptor descriptor)
Adds the specified XMLFieldDescriptor to the collection.
|
void |
XMLClassDescriptorImpl.addFieldDescriptor(XMLFieldDescriptor descriptor)
Adds the given XMLFieldDescriptor to the list of descriptors.
|
protected void |
XMLClassDescriptorImpl.addSequenceElement(XMLFieldDescriptor element)
Adds a XMLFieldDescriptor instance to the internally maintained
list of sequence elements.
|
void |
XMLClassDescriptorImpl.checkDescriptorForCorrectOrderWithinSequence(XMLFieldDescriptor elementDescriptor,
UnmarshalState parentState,
String xmlName)
Checks whether the given XMLFieldDescriptor is the one actually expected,
given the natural order as defined by a sequence definition
|
boolean |
XMLFieldDescriptors.contains(XMLFieldDescriptor descriptor)
Returns true if the specified descriptor is contained in this
collection.
|
boolean |
XMLClassDescriptorImpl.contains(XMLFieldDescriptor descriptor)
Returns true if the given XMLFieldDescriptor is contained
within this XMLClassDescriptor.
|
int |
XMLFieldDescriptors.indexOf(XMLFieldDescriptor descriptor)
Returns the index of the first occurrence of the specified
XMLFieldDescriptor, or -1 if the descriptor is not contained in
the collection.
|
boolean |
XMLFieldDescriptors.remove(XMLFieldDescriptor descriptor)
Removes the given XMLFieldDescriptor from the list.
|
boolean |
XMLClassDescriptorImpl.removeFieldDescriptor(XMLFieldDescriptor descriptor)
Removes the given XMLFieldDescriptor from the list of descriptors.
|
void |
XMLClassDescriptorImpl.setIdentity(XMLFieldDescriptor fieldDesc)
Sets the Identity FieldDescriptor, if the FieldDescriptor is
not already a contained in this ClassDescriptor, it will be
added
|
XMLFieldDescriptor[] |
XMLFieldDescriptors.toArray(XMLFieldDescriptor[] dst)
Returns an array containing all of the descriptors in this list
in proper sequence.
|
XMLFieldDescriptor[] |
XMLFieldDescriptors.toArray(XMLFieldDescriptor[] dst,
int offset)
Returns an array containing all of the elements in this list
in proper sequence.
|
Copyright © 2016. All rights reserved.