com.sun.xml.xsom
Interface XSFacet

All Superinterfaces:
XSComponent
All Known Implementing Classes:
FacetImpl

public interface XSFacet
extends XSComponent

Facet for a simple type.

Author:
Kohsuke Kawaguchi ([email protected])

Field Summary
static String FACET_ENUMERATION
           
static String FACET_FRACTIONDIGITS
           
static String FACET_LENGTH
           
static String FACET_MAXEXCLUSIVE
           
static String FACET_MAXINCLUSIVE
           
static String FACET_MAXLENGTH
           
static String FACET_MINEXCLUSIVE
           
static String FACET_MININCLUSIVE
           
static String FACET_MINLENGTH
           
static String FACET_PATTERN
           
static String FACET_TOTALDIGITS
           
static String FACET_WHITESPACE
           
 
Method Summary
 String getName()
          Gets the name of the facet, such as "length".
 XmlString getValue()
          Gets the value of the facet.
 boolean isFixed()
          Returns true if this facet is "fixed".
 
Methods inherited from interface com.sun.xml.xsom.XSComponent
apply, getAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingle, visit
 

Field Detail

FACET_LENGTH

static final String FACET_LENGTH
See Also:
Constant Field Values

FACET_MINLENGTH

static final String FACET_MINLENGTH
See Also:
Constant Field Values

FACET_MAXLENGTH

static final String FACET_MAXLENGTH
See Also:
Constant Field Values

FACET_PATTERN

static final String FACET_PATTERN
See Also:
Constant Field Values

FACET_ENUMERATION

static final String FACET_ENUMERATION
See Also:
Constant Field Values

FACET_TOTALDIGITS

static final String FACET_TOTALDIGITS
See Also:
Constant Field Values

FACET_FRACTIONDIGITS

static final String FACET_FRACTIONDIGITS
See Also:
Constant Field Values

FACET_MININCLUSIVE

static final String FACET_MININCLUSIVE
See Also:
Constant Field Values

FACET_MAXINCLUSIVE

static final String FACET_MAXINCLUSIVE
See Also:
Constant Field Values

FACET_MINEXCLUSIVE

static final String FACET_MINEXCLUSIVE
See Also:
Constant Field Values

FACET_MAXEXCLUSIVE

static final String FACET_MAXEXCLUSIVE
See Also:
Constant Field Values

FACET_WHITESPACE

static final String FACET_WHITESPACE
See Also:
Constant Field Values
Method Detail

getName

String getName()
Gets the name of the facet, such as "length".


getValue

XmlString getValue()
Gets the value of the facet.


isFixed

boolean isFixed()
Returns true if this facet is "fixed".



Copyright © 2015 Oracle Corporation. All Rights Reserved.