|
||||||||||
| 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.XSPatternBase
A base class for types which support the pattern facet
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
protected |
XSPatternBase(short type)
Creates a new XSPatternBase |
|
XSPatternBase(short type,
java.lang.String pattern)
Creates a new XSPatternBase with the given regular expression and type. |
| Method Summary | |
|---|---|
java.lang.String |
getPattern()
Returns the pattern facet for this XSType |
void |
setPattern(java.lang.String pattern)
Sets the pattern facet for this XSType |
| Methods inherited from class org.exolab.castor.builder.types.XSType |
|---|
createFromJavaObjectCode, createToJavaObjectCode, escapePattern, getFacets, getJType, getName, getType, isDateTime, isEnumerated, isPrimitive, newInstanceCode, setAsEnumertated, setFacets, validationCode |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected XSPatternBase(short type)
type - that this XSType represents
public XSPatternBase(short type,
java.lang.String pattern)
type - that this XSType representspattern - the regular expression| Method Detail |
public java.lang.String getPattern()
public void setPattern(java.lang.String pattern)
pattern - the regular expression for this XSType
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||