Package | Description |
---|---|
org.exolab.castor.builder |
Castor XML code generator
|
org.exolab.castor.builder.factory | |
org.exolab.castor.builder.info | |
org.exolab.castor.builder.info.nature | |
org.exolab.castor.builder.info.nature.relation |
Modifier and Type | Method and Description |
---|---|
FieldInfo |
FactoryState.getFieldInfoForChoice()
Get FieldInfo used to handle
xsd:choice . |
Modifier and Type | Method and Description |
---|---|
void |
AnnotationBuilder.addFieldAnnotations(FieldInfo fieldInfo,
JField field)
add annotation to a property definition.
|
void |
AnnotationBuilder.addFieldGetterAnnotations(FieldInfo fieldInfo,
JMethod method)
add annotations to a getter of a property.
|
void |
FactoryState.setFieldInfoForChoice(FieldInfo fieldInfoForChoice)
Set FieldInfo used to handle
xsd:choice . |
Modifier and Type | Method and Description |
---|---|
FieldInfo |
MemberFactory.createFieldInfo(XMLBindingComponent component,
ClassInfoResolver resolver,
boolean useJava50)
Creates a FieldInfo object for the given XMLBindingComponent.
|
FieldInfo |
FieldInfoFactory.createFieldInfo(XSType type,
String name)
|
FieldInfo |
MemberFactory.createFieldInfoForAny(Wildcard any,
boolean useJava50)
Creates a FieldInfo for content models that support "any" element.
|
FieldInfo |
MemberFactory.createFieldInfoForChoiceValue()
Creates a FieldInfo to hold the value of a choice.
|
FieldInfo |
MemberFactory.createFieldInfoForContent(XMLBindingComponent component,
XSType xsType,
boolean useJava50)
Creates a FieldInfo for content.
|
Modifier and Type | Method and Description |
---|---|
JMethod[] |
IdentityMemberAndAccessorFactory.createAccessMethods(FieldInfo fieldInfo)
Creats the getter/setter and getReferenceId methods.
|
void |
FieldMemberAndAccessorFactory.createAccessMethods(FieldInfo fieldInfo,
JClass jClass,
boolean useJava50,
AnnotationBuilder[] annotationBuilders)
Adds the getter/setter for this field to the jClass.
|
void |
CollectionMemberAndAccessorFactory.createAccessMethods(FieldInfo fieldInfo,
JClass jClass,
boolean useJava50,
AnnotationBuilder[] annotationBuilders)
Adds the getter/setter for this field to the jClass.
|
void |
FieldMemberAndAccessorFactory.createJavaField(FieldInfo fieldInfo,
JClass jClass)
Adds the suitable JField to the JClass.
|
void |
XMLFieldHandlerFactory.createXMLFieldHandler(FieldInfo member,
XSType xsType,
String localClassName,
JSourceCode jsc,
boolean forGeneralizedHandler)
Creates the XMLFieldHandler for the given FieldInfo.
|
void |
FieldMemberAndAccessorFactory.generateInitializerCode(FieldInfo fieldInfo,
JSourceCode jsc)
Creates the field initialization code in a constructor.
|
void |
CollectionMemberAndAccessorFactory.generateInitializerCode(FieldInfo fieldInfo,
JSourceCode sourceCode)
Creates the field initialization code in a constructor.
|
void |
CollectionODMG30MemberAndAccessorFactory.generateInitializerCode(FieldInfo fieldInfo,
JSourceCode jsc)
Creates the field initialization code in a constructor.
|
Modifier and Type | Class and Description |
---|---|
class |
CollectionInfo
A helper used for generating source that deals with Collections.
|
class |
CollectionInfoJ2
A helper used for generating source that deals with Java 2 Collections.
|
class |
CollectionInfoJ2Collection
A helper used for generating source that deals with Java 2 Collections of
type 'java.util.Collection'.
|
class |
CollectionInfoJ2Set
A helper used for generating source that deals with Java 2 Collections of
type 'java.util.Set'.
|
class |
CollectionInfoJ2SortedSet
A helper used for generating source that deals with Java 2 Collections of
type 'java.util.SortedSet'.
|
class |
CollectionInfoODMG30
A helper used for generating source that deals with Collections.
|
class |
IdentityInfo |
Modifier and Type | Method and Description |
---|---|
FieldInfo |
ClassInfo.getAttributeField(String nodeName)
Returns a fieldInfo that corresponds to an attribute with the given node name.
|
FieldInfo[] |
ClassInfo.getAttributeFields()
Returns an array of XML attribute associated fields.
|
FieldInfo |
CollectionInfo.getContent()
Return the contents of the collection.
|
FieldInfo |
ClassInfo.getElementField(String nodeName)
Returns a fieldInfo that corresponds to an element with the given node name.
|
FieldInfo[] |
ClassInfo.getElementFields()
Returns an array of XML element associated fields.
|
FieldInfo |
FieldInfo.getFieldInfoReference()
Returns the reference to the
FieldInfo instance within the same class. |
FieldInfo |
ClassInfo.getTextField()
Returns the FieldInfo for the XML text associated field.
|
Modifier and Type | Method and Description |
---|---|
Collection<FieldInfo> |
ClassInfo.getAttributeFieldsAsCollection()
Returns all attribute
FieldInfo s as a collection. |
Collection<FieldInfo> |
ClassInfo.getElementFieldsAsCollection()
Returns all element
FieldInfo s as a collection. |
Modifier and Type | Method and Description |
---|---|
void |
ClassInfo.addFieldInfo(FieldInfo fieldInfo)
Adds the given FieldInfo to this ClassInfo.
|
void |
ClassInfo.addFieldInfo(FieldInfo[] fields)
Adds the given set of FieldInfos to this ClassInfo.
|
boolean |
ClassInfo.contains(FieldInfo fieldInfo)
Returns true if the given FieldInfo is contained within this ClassInfo.
|
void |
FieldInfo.setFieldInfoReference(FieldInfo fieldInfo)
Sets the name of the field within the same class that is a reference to
this field.
|
Constructor and Description |
---|
JDOFieldInfoNature(FieldInfo fieldInfo)
Constructor taking a FieldInfo.
|
SolrjFieldInfoNature(FieldInfo fieldInfo)
Constructor taking a
FieldInfo . |
Constructor and Description |
---|
JDOOneToManyNature(FieldInfo field)
Constructor taking a
FieldInfo . |
JDOOneToOneNature(FieldInfo field)
Constructor taking a
FieldInfo . |
Copyright © 2024. All rights reserved.