Package | Description |
---|---|
org.exolab.castor.builder.factory | |
org.exolab.castor.builder.types | |
org.exolab.javasource |
This package contains classes that represent Java Source objects for Castor XML
code generator.
|
Modifier and Type | Method and Description |
---|---|
protected void |
CollectionMemberAndAccessorFactory.addMaxSizeCheck(CollectionInfo fieldInfo,
String methodName,
JSourceCode sourceCode)
Creates the add max size check.
|
protected void |
CollectionMemberAndAccessorFactory.createBoundPropertyCode(CollectionInfo fieldInfo,
JSourceCode sourceCode)
Creates bound property code..
|
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 |
CollectionODMG30MemberAndAccessorFactory.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.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractDigitsFacet.codeDigitsFacet(JSourceCode jsc,
String validatorName)
Generate the source code for digits facet validation.
|
protected void |
AbstractLengthFacet.codeLengthFacet(JSourceCode jsc,
String validatorName)
Generate the source code for length, maxLength or minLength facets validation.
|
protected void |
AbstractPatternFacet.codePatternFacet(JSourceCode jsc,
String validatorName)
Generate the source code for pattern facet validation.
|
protected void |
AbstractRangeFacet.codeRangeFacet(JSourceCode jsc,
String validatorName)
Generate the source code for pattern facet validation.
|
protected void |
AbstractWhiteSpaceFacet.codeWhiteSpaceFacet(JSourceCode jsc,
String validatorName)
Generate the source code for pattern facet validation.
|
abstract void |
XSType.validationCode(JSourceCode jsc,
String fixedValue,
String validatorInstanceName)
Creates the validation code for an instance of this XSType.
|
void |
XSGYearMonth.validationCode(JSourceCode jsc,
String fixedValue,
String validatorInstanceName)
Creates the validation code for an instance of this XSType.
|
void |
XSGDay.validationCode(JSourceCode jsc,
String fixedValue,
String validatorInstanceName)
Creates the validation code for an instance of this XSType.
|
void |
XSHexBinary.validationCode(JSourceCode jsc,
String fixedValue,
String validatorInstanceName)
Creates the validation code for an instance of this XSType.
|
void |
XSList.validationCode(JSourceCode jsc,
String fixedValue,
String validatorInstanceName)
Creates the validation code for an instance of this XSType.
|
void |
XSAnyURI.validationCode(JSourceCode jsc,
String fixedValue,
String validatorInstanceName)
Creates the validation code for an instance of this XSType.
|
void |
XSDate.validationCode(JSourceCode jsc,
String fixedValue,
String validatorInstanceName)
Creates the validation code for an instance of this XSType.
|
void |
XSDuration.validationCode(JSourceCode jsc,
String fixedValue,
String validatorInstanceName)
Creates the validation code for an instance of this XSType.
|
void |
XSIdRef.validationCode(JSourceCode jsc,
String fixedValue,
String validatorInstanceName)
Creates the validation code for an instance of this XSType.
|
void |
XSTime.validationCode(JSourceCode jsc,
String fixedValue,
String validatorInstanceName)
Creates the validation code for an instance of this XSType.
|
void |
XSNonPositiveInteger.validationCode(JSourceCode jsc,
String fixedValue,
String validatorInstanceName)
Creates the validation code for an instance of this XSType.
|
void |
XSString.validationCode(JSourceCode jsc,
String fixedValue,
String validatorInstanceName)
Creates the validation code for an instance of this XSType.
|
void |
XSNMToken.validationCode(JSourceCode jsc,
String fixedValue,
String validatorInstanceName)
Creates the validation code for an instance of this XSType.
|
void |
XSGMonthDay.validationCode(JSourceCode jsc,
String fixedValue,
String validatorInstanceName)
Creates the validation code for an instance of this XSType.
|
void |
XSInt.validationCode(JSourceCode jsc,
String fixedValue,
String validatorInstanceName)
Creates the validation code for an instance of this XSType.
|
void |
XSFloat.validationCode(JSourceCode jsc,
String fixedValue,
String validatorInstanceName)
Creates the validation code for an instance of this XSType.
|
void |
XSUnsignedShort.validationCode(JSourceCode jsc,
String fixedValue,
String validatorInstanceName)
Creates the validation code for an instance of this XSType.
|
void |
XSId.validationCode(JSourceCode jsc,
String fixedValue,
String validatorInstanceName)
Creates the validation code for an instance of this XSType.
|
void |
XSNegativeInteger.validationCode(JSourceCode jsc,
String fixedValue,
String validatorInstanceName)
Creates the validation code for an instance of this XSType.
|
void |
XSUnsignedInt.validationCode(JSourceCode jsc,
String fixedValue,
String validatorInstanceName)
Creates the validation code for an instance of this XSType.
|
void |
XSUnsignedByte.validationCode(JSourceCode jsc,
String fixedValue,
String validatorInstanceName)
Creates the validation code for an instance of this XSType.
|
void |
XSLong.validationCode(JSourceCode jsc,
String fixedValue,
String validatorInstanceName)
Creates the validation code for an instance of this XSType.
|
void |
XSBase64Binary.validationCode(JSourceCode jsc,
String fixedValue,
String validatorInstanceName)
Creates the validation code for an instance of this XSType.
|
void |
XSInteger.validationCode(JSourceCode jsc,
String fixedValue,
String validatorInstanceName)
Creates the validation code for an instance of this XSType.
|
void |
XSShort.validationCode(JSourceCode jsc,
String fixedValue,
String validatorInstanceName)
Creates the validation code for an instance of this XSType.
|
void |
XSNonNegativeInteger.validationCode(JSourceCode jsc,
String fixedValue,
String validatorInstanceName)
Creates the validation code for an instance of this XSType.
|
void |
XSNormalizedString.validationCode(JSourceCode jsc,
String fixedValue,
String validatorInstanceName)
Creates the validation code for an instance of this XSType.
|
void |
XSByte.validationCode(JSourceCode jsc,
String fixedValue,
String validatorInstanceName)
Creates the validation code for an instance of this XSType.
|
void |
XSGMonth.validationCode(JSourceCode jsc,
String fixedValue,
String validatorInstanceName)
Creates the validation code for an instance of this XSType.
|
void |
XSPositiveInteger.validationCode(JSourceCode jsc,
String fixedValue,
String validatorInstanceName)
Creates the validation code for an instance of this XSType.
|
void |
XSNCName.validationCode(JSourceCode jsc,
String fixedValue,
String validatorInstanceName)
Creates the validation code for an instance of this XSType.
|
void |
XSDecimal.validationCode(JSourceCode jsc,
String fixedValue,
String validatorInstanceName)
Creates the validation code for an instance of this XSType.
|
void |
XSUnsignedLong.validationCode(JSourceCode jsc,
String fixedValue,
String validatorInstanceName) |
void |
XSIdRefs.validationCode(JSourceCode jsc,
String fixedValue,
String validatorInstanceName)
Creates the validation code for an instance of this XSType.
|
void |
XSClass.validationCode(JSourceCode jsc,
String fixedValue,
String validatorInstanceName)
Creates the validation code for an instance of this XSType.
|
void |
XSGYear.validationCode(JSourceCode jsc,
String fixedValue,
String validatorInstanceName)
Creates the validation code for an instance of this XSType.
|
void |
XSDateTime.validationCode(JSourceCode jsc,
String fixedValue,
String validatorInstanceName)
Creates the validation code for an instance of this XSType.
|
void |
XSDouble.validationCode(JSourceCode jsc,
String fixedValue,
String validatorInstanceName)
Creates the validation code for an instance of this XSType.
|
void |
XSBoolean.validationCode(JSourceCode jsc,
String fixedValue,
String validatorInstanceName)
Creates the validation code for an instance of this XSType.
|
void |
XSQName.validationCode(JSourceCode jsc,
String fixedValue,
String validatorInstanceName)
Creates the validation code for an instance of this XSType.
|
void |
XSNMTokens.validationCode(JSourceCode jsc,
String fixedValue,
String validatorInstanceName)
Creates the validation code for an instance of this XSType.
|
Modifier and Type | Method and Description |
---|---|
JSourceCode |
JMethod.getSourceCode()
Returns the JSourceCode for the method body.
|
JSourceCode |
JConstructor.getSourceCode()
Returns the source code for this JConstructor.
|
JSourceCode |
AbstractJClass.getStaticInitializationCode()
Returns the JSourceCode for the static initializer of this JClass.
|
Modifier and Type | Method and Description |
---|---|
void |
JSourceCode.copyInto(JSourceCode jsc)
Copies the contents of this JSourceCode into the given JSourceCode.
|
void |
JMethod.setSourceCode(JSourceCode source)
Sets the given JSourceCode as the source code (method body) for this
JMethod.
|
void |
JConstructor.setSourceCode(JSourceCode sourceCode)
Sets the source code for this constructor.
|
Copyright © 2022. All rights reserved.