Top Description Fields Constructors Methods
com.sun.msv.datatype.xsd

public final Class FinalComponent

extends Proxy
Class Inheritance

"final" component.
Author
Kohsuke KAWAGUCHI

Field Summary

Modifier and TypeField and Description
private final int
private static final long
Inherited from com.sun.msv.datatype.xsd.Proxy:
baseType

Constructor Summary

AccessConstructor and Description
public
FinalComponent(XSDatatypeImpl baseType, int finalValue)

public
FinalComponent(String nsUri, String newTypeName, XSDatatypeImpl baseType, int finalValue)

Method Summary

Modifier and TypeMethod and Description
public boolean
isFinal(int
one of pre-defined values (DERIVATION_BY_XXX).
derivationType
)

Overrides com.sun.msv.datatype.xsd.Proxy.isFinal.

Implements com.sun.msv.datatype.xsd.XSDatatype.isFinal.

checks if this type is declared as final for the specified kind of derivation.
Inherited from com.sun.msv.datatype.xsd.Proxy:
_checkValid_createJavaObject_createValuecheckFormatconvertToLexicalValuedisplayNamegetBaseTypegetConcreteTypegetFacetObjectgetIdTypegetJavaObjectTypegetVarietyisContextDependentisFacetApplicableserializeJavaObject

Field Detail

finalValueback to summary
private final int finalValue
serialVersionUIDback to summary
private static final long serialVersionUID

Hides com.sun.msv.datatype.xsd.Proxy.serialVersionUID.

Constructor Detail

FinalComponentback to summary
public FinalComponent(XSDatatypeImpl baseType, int finalValue)
FinalComponentback to summary
public FinalComponent(String nsUri, String newTypeName, XSDatatypeImpl baseType, int finalValue)

Method Detail

isFinalback to summary
public boolean isFinal(int derivationType)

Overrides com.sun.msv.datatype.xsd.Proxy.isFinal.

Implements com.sun.msv.datatype.xsd.XSDatatype.isFinal.

Doc from com.sun.msv.datatype.xsd.XSDatatype.isFinal.

checks if this type is declared as final for the specified kind of derivation.

In the terminology of the spec, this method can be used to examine the final property of this component.

Parameters
derivationType:int

one of pre-defined values (DERIVATION_BY_XXX).