Public Member Functions | |
XSPatternBase (short type, String pattern) | |
String | getPattern () |
void | setPattern (String pattern) |
Protected Member Functions | |
XSPatternBase (short type) |
A base class for types which support the pattern facet
org.exolab.castor.builder.types.XSPatternBase.XSPatternBase | ( | short | type | ) | [protected] |
Creates a new XSPatternBase
type | that this XSType represents |
org.exolab.castor.builder.types.XSPatternBase.XSPatternBase | ( | short | type, | |
String | pattern | |||
) |
Creates a new XSPatternBase with the given regular expression and type.
type | that this XSType represents | |
pattern | the regular expression |
String org.exolab.castor.builder.types.XSPatternBase.getPattern | ( | ) |
Returns the pattern facet for this XSType
Referenced by org.exolab.castor.builder.types.XSString.validationCode(), org.exolab.castor.builder.types.XSShort.validationCode(), org.exolab.castor.builder.types.XSNormalizedString.validationCode(), org.exolab.castor.builder.types.XSLong.validationCode(), org.exolab.castor.builder.types.XSInteger.validationCode(), org.exolab.castor.builder.types.XSInt.validationCode(), org.exolab.castor.builder.types.XSFloat.validationCode(), org.exolab.castor.builder.types.XSDouble.validationCode(), and org.exolab.castor.builder.types.XSByte.validationCode().
void org.exolab.castor.builder.types.XSPatternBase.setPattern | ( | String | pattern | ) |
Sets the pattern facet for this XSType
pattern | the regular expression for this XSType |
Referenced by org.exolab.castor.builder.types.XSString.setFacets(), org.exolab.castor.builder.types.XSShort.setFacets(), org.exolab.castor.builder.types.XSQName.setFacets(), org.exolab.castor.builder.types.XSNormalizedString.setFacets(), org.exolab.castor.builder.types.XSLong.setFacets(), org.exolab.castor.builder.types.XSInteger.setFacets(), org.exolab.castor.builder.types.XSInt.setFacets(), org.exolab.castor.builder.types.XSFloat.setFacets(), org.exolab.castor.builder.types.XSDouble.setFacets(), and org.exolab.castor.builder.types.XSByte.setFacets().