com.sun.xml.xsom
Interface XSRestrictionSimpleType
- All Superinterfaces:
- XSComponent, XSContentType, XSDeclaration, XSSimpleType, XSType
public interface XSRestrictionSimpleType
- extends XSSimpleType
Restriction simple type.
- Author:
- Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)
Methods inherited from interface com.sun.xml.xsom.XSSimpleType |
apply, asList, asRestriction, asUnion, getBaseListType, getBaseUnionType, getFacet, getPrimitiveType, getRedefinedBy, getSimpleBaseType, getVariety, isFinal, isList, isPrimitive, isRestriction, isUnion, visit |
Methods inherited from interface com.sun.xml.xsom.XSComponent |
apply, getAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingle, visit |
iterateDeclaredFacets
java.util.Iterator<XSFacet> iterateDeclaredFacets()
- Iterates facets that are specified in this step of derivation.
getDeclaredFacets
java.util.Collection<? extends XSFacet> getDeclaredFacets()
getDeclaredFacet
XSFacet getDeclaredFacet(java.lang.String name)
- Gets the declared facet object of the given name.
This method returns a facet object that is added in this
type and does not recursively check the ancestors.
For those facets that can have multiple values
(pattern facets and enumeration facets), this method
will return only the first one.
- Returns:
- Null if the facet is not specified in the last step
of derivation.
getDeclaredFacets
java.util.List<XSFacet> getDeclaredFacets(java.lang.String name)
- Gets the declared facets of the given name.
This method is for those facets (such as 'pattern') that
can be specified multiple times on a simple type.
- Returns:
- can be empty but never be null.