org.exolab.castor.builder.types

Class XSPatternBase

public abstract class XSPatternBase extends XSType

A base class for types which support the pattern facet

Version: $Revision: 5951 $ $Date: 2005-03-05 06:42:06 -0700 (Sat, 05 Mar 2005) $

Author: Keith Visco

Constructor Summary
protected XSPatternBase(short type)
Creates a new XSPatternBase
XSPatternBase(short type, String pattern)
Creates a new XSPatternBase with the given regular expression and type.
Method Summary
StringgetPattern()
Returns the pattern facet for this XSType
voidsetPattern(String pattern)
Sets the pattern facet for this XSType

Constructor Detail

XSPatternBase

protected XSPatternBase(short type)
Creates a new XSPatternBase

Parameters: type that this XSType represents

XSPatternBase

public XSPatternBase(short type, String pattern)
Creates a new XSPatternBase with the given regular expression and type.

Parameters: type that this XSType represents pattern the regular expression

Method Detail

getPattern

public String getPattern()
Returns the pattern facet for this XSType

Returns: the pattern facet for this XSType

setPattern

public void setPattern(String pattern)
Sets the pattern facet for this XSType

Parameters: pattern the regular expression for this XSType

Intalio Inc. (C) 1999-2006. All rights reserved http://www.intalio.com