org.gxml.xs
Interface SmFacet<A,S>

All Known Subinterfaces:
SmFractionDigits<A,S>, SmLength<A,S>, SmLimit<A,S>, SmMaxLength<A,S>, SmMinLength<A,S>, SmTotalDigits<A,S>

public interface SmFacet<A,S>

Common interface for all facets excluding xs:enumeration and xs:pattern.


Method Summary
 SmFacetKind getKind()
           
 boolean isFixed()
          Determines whether the facet is fixed.
 void validate(java.util.List<? extends A> actualValue, SmSimpleType<A,S> simpleType)
          Checks the passed typed value acccording to this facet.
 

Method Detail

isFixed

boolean isFixed()
Determines whether the facet is fixed.


getKind

SmFacetKind getKind()

validate

void validate(java.util.List<? extends A> actualValue,
              SmSimpleType<A,S> simpleType)
              throws SmFacetException
Checks the passed typed value acccording to this facet.

Parameters:
actualValue - The actual value.
simpleType - The type that validated the actual value.
Throws:
SmFacetException


Copyright © 2009 TIBCO Software Inc. All Rights Reserved.