org.exolab.castor.builder.types

Class XSAnyURI

public final class XSAnyURI extends XSType

The XML Schema URIReference type

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

Author: Arnaud Blandin

Constructor Summary
XSAnyURI()
Method Summary
StringcreateFromJavaObjectCode(String variableName)
Returns the String necessary to convert an Object to an instance of this XSType.
JTypegetJType()
Returns the JType that this XSType represents
voidsetFacets(SimpleType simpleType)
StringtoString()
voidvalidationCode(JSourceCode jsc, String fixedValue, String fieldValidatorInstanceName)
Returns a JSourceCode that contains the validation method for this XSAnyURI.

Constructor Detail

XSAnyURI

public XSAnyURI()

Method Detail

createFromJavaObjectCode

public String createFromJavaObjectCode(String variableName)
Returns the String necessary to convert an Object to an instance of this XSType. This method is really only useful for primitive types

Parameters: variableName the name of the Object

Returns: the String necessary to convert an Object to an instance of this XSType

getJType

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

Returns: the JType that this XSType represents

setFacets

public void setFacets(SimpleType simpleType)

toString

public String toString()

validationCode

public void validationCode(JSourceCode jsc, String fixedValue, String fieldValidatorInstanceName)
Returns a JSourceCode that contains the validation method for this XSAnyURI.

Parameters: fixedValue a fixed value to use if any jsc the JSourceCode to fill in.

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