|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.castor.builder.types.XSType
org.exolab.castor.builder.types.XSBinary
public final class XSBinary
The binary XML Schema datatype. This class represents both hexBinary and base64Binary, no distinction is made between both types.
Field Summary |
---|
Constructor Summary | |
---|---|
XSBinary(short type)
|
Method Summary | |
---|---|
JType |
getJType()
Returns the JType that this XSType represents |
void |
setFacets(SimpleType simpleType)
Reads and sets the facets for XSType |
void |
validationCode(JSourceCode jsc,
java.lang.String fixedValue,
java.lang.String fieldValidatorInstanceName)
Creates the validation code for an instance of this XSType. |
Methods inherited from class org.exolab.castor.builder.types.XSType |
---|
createFromJavaObjectCode, createToJavaObjectCode, escapePattern, getFacets, getName, getType, isDateTime, isEnumerated, isPrimitive, newInstanceCode, setAsEnumerated |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XSBinary(short type)
Method Detail |
---|
public void setFacets(SimpleType simpleType)
XSType
setFacets
in class XSType
simpleType
- the SimpleType containing the facetspublic JType getJType()
getJType
in class XSType
public void validationCode(JSourceCode jsc, java.lang.String fixedValue, java.lang.String fieldValidatorInstanceName)
validationCode
in class XSType
fixedValue
- a fixed value to use if anyjsc
- the JSourceCode to fill in.fieldValidatorInstanceName
- the name of the FieldValidator
that the configured TypeValidator should be added to.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |