NatureExtendable
, PropertyHolder
, ClassDescriptor
, XMLClassDescriptor
public class LocaleDescriptor extends BaseDescriptor
Constructor | Description |
---|---|
LocaleDescriptor() |
No-arg constructor.
|
Modifier and Type | Method | Description |
---|---|---|
AccessMode |
getAccessMode() |
Returns the access mode specified for this class.
|
XMLFieldDescriptor[] |
getAttributeDescriptors() |
Returns the set of XMLFieldDescriptors for all members that should be
marshaled as XML attributes.
|
XMLFieldDescriptor |
getContentDescriptor() |
Returns the XMLFieldDescriptor for the member that should be marshaled
as text content.
|
XMLFieldDescriptor[] |
getElementDescriptors() |
Returns the set of XMLFieldDescriptors for all members that should be
marshaled as XML elements.
|
ClassDescriptor |
getExtends() |
Returns the class descriptor of the class extended by this class.
|
XMLFieldDescriptor |
getFieldDescriptor(java.lang.String name,
java.lang.String namespace,
NodeType nodeType) |
Returns the XML field descriptor matching the given xml name and
nodeType.
|
FieldDescriptor[] |
getFields() |
Returns a list of fields represented by this descriptor.
|
FieldDescriptor |
getIdentity() |
Returns the identity field, null if this class has no identity.
|
java.lang.Class |
getJavaClass() |
Returns the Java class represented by this descriptor.
|
java.lang.String |
getNameSpacePrefix() |
Returns the namespace prefix to use when marshalling as XML.
|
java.lang.String |
getNameSpaceURI() |
Returns the namespace URI used when marshalling and unmarshalling as XML.
|
TypeValidator |
getValidator() |
Returns a specific validator for the class described by this
ClassDescriptor.
|
java.lang.String |
getXMLName() |
Returns the XML Name for the Class being described.
|
java.lang.String |
toString() |
Returns the String representation of this XMLClassDescriptor.
|
addNature, canAccept, checkDescriptorForCorrectOrderWithinSequence, getProperty, hasNature, isChoice, setProperty
public XMLFieldDescriptor[] getAttributeDescriptors()
public XMLFieldDescriptor getContentDescriptor()
public XMLFieldDescriptor[] getElementDescriptors()
public XMLFieldDescriptor getFieldDescriptor(java.lang.String name, java.lang.String namespace, NodeType nodeType)
name
- the xml name to match againstnamespace
- the namespace urinodeType
- the NodeType to match against, or null if the node type
is not known.public java.lang.String getNameSpacePrefix()
XMLClassDescriptor
public java.lang.String getNameSpaceURI()
XMLClassDescriptor
public TypeValidator getValidator()
public java.lang.String getXMLName()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.Class getJavaClass()
public FieldDescriptor[] getFields()
public ClassDescriptor getExtends()
public FieldDescriptor getIdentity()
public AccessMode getAccessMode()
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com