com.mathling.scd
Class FundamentalFacet

java.lang.Object
  extended by com.mathling.scd.FundamentalFacet

public class FundamentalFacet
extends java.lang.Object

Object representing a fundamental facet, because Xerces doesn't have one.

Copyright (c) 2005-2010 Mary Holstege.

Author:
Mary Holstege (nojunk@mathling.com)

Field Summary
static short FUNDAMENTAL_FACET_BOUNDED
          Facet is the fundamental "bounded" facet
static short FUNDAMENTAL_FACET_CARDINALITY
          Facet is the fundamental "cardinality" facet
static short FUNDAMENTAL_FACET_NUMERIC
          Facet is the fundamental "numeric" facet
static short FUNDAMENTAL_FACET_ORDERED
          Facet is the fundamental "ordered" facet
 
Constructor Summary
FundamentalFacet(short kind, java.lang.String value)
          Constructor.
 
Method Summary
 short getFacetKind()
           
 java.lang.String getValue()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FUNDAMENTAL_FACET_BOUNDED

public static final short FUNDAMENTAL_FACET_BOUNDED
Facet is the fundamental "bounded" facet

See Also:
Constant Field Values

FUNDAMENTAL_FACET_ORDERED

public static final short FUNDAMENTAL_FACET_ORDERED
Facet is the fundamental "ordered" facet

See Also:
Constant Field Values

FUNDAMENTAL_FACET_NUMERIC

public static final short FUNDAMENTAL_FACET_NUMERIC
Facet is the fundamental "numeric" facet

See Also:
Constant Field Values

FUNDAMENTAL_FACET_CARDINALITY

public static final short FUNDAMENTAL_FACET_CARDINALITY
Facet is the fundamental "cardinality" facet

See Also:
Constant Field Values
Constructor Detail

FundamentalFacet

public FundamentalFacet(short kind,
                        java.lang.String value)
Constructor.

Parameters:
kind - Kind of fundamental facet: must be one of the facet kinds enumerated above.
value - Value of fundamental facet
Method Detail

getValue

public java.lang.String getValue()

getFacetKind

public short getFacetKind()