org.exolab.castor.builder.types

Class XSIdRef

public final class XSIdRef extends XSType

The XML Schema IDREF type

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

Author: Keith Visco

Constructor Summary
XSIdRef()
Method Summary
JTypegetJType()
Returns the JType that this XSType represents
voidsetFacets(SimpleType simpleType)
voidvalidationCode(JSourceCode jsc, String fixedValue, String fieldValidatorInstanceName)
Creates the validation code for an instance of this XSType.

Constructor Detail

XSIdRef

public XSIdRef()

Method Detail

getJType

public JType getJType()
Returns the JType that this XSType represents

Returns: the JType that this XSType represents

setFacets

public void setFacets(SimpleType simpleType)

validationCode

public void validationCode(JSourceCode jsc, String fixedValue, String fieldValidatorInstanceName)
Creates the validation code for an instance of this XSType. The validation code should if necessary create a newly configured TypeValidator, that should then be added to a FieldValidator instance whose name is provided.

Parameters: fixedValue a fixed value to use if any jsc the JSourceCode to fill in. fieldValidatorInstanceName the name of the FieldValidator that the configured TypeValidator should be added to.

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