Package | Description |
---|---|
com.sun.xml.xsom |
Interfaces that the client should use to access schema information.
|
com.sun.xml.xsom.impl |
Implementation of the
com.sun.xml.xsom package. |
com.sun.xml.xsom.impl.scd | |
com.sun.xml.xsom.util |
Modifier and Type | Interface and Description |
---|---|
interface |
XSAttContainer
Common aspect of
XSComplexType and XSAttGroupDecl
as the container of attribute uses/attribute groups. |
interface |
XSAttGroupDecl
Attribute group declaration.
|
interface |
XSAttributeDecl
Attribute declaration.
|
interface |
XSAttributeUse
Attribute use.
|
interface |
XSComplexType
Complex type.
|
interface |
XSContentType
Content of a complex type.
|
interface |
XSDeclaration
Base interface of all "declarations".
|
interface |
XSElementDecl
Element declaration.
|
interface |
XSFacet
Facet for a simple type.
|
interface |
XSIdentityConstraint
Identity constraint.
|
interface |
XSListSimpleType
List simple type.
|
interface |
XSModelGroup
Model group.
|
interface |
XSModelGroupDecl
Named model group declaration.
|
interface |
XSNotation
Notation declaration.
|
interface |
XSParticle
Particle schema component.
|
interface |
XSRestrictionSimpleType
Restriction simple type.
|
interface |
XSSchema
Schema.
|
interface |
XSSimpleType
Simple type.
|
interface |
XSTerm
A component that can be referenced from
XSParticle
This interface provides a set of type check functions (isXXX ),
which are essentially: |
interface |
XSType
Base interface for
XSComplexType and XSSimpleType . |
interface |
XSUnionSimpleType
Union simple type.
|
interface |
XSWildcard
Wildcard schema component (used for both attribute wildcard
and element wildcard.)
XSWildcard interface can always be downcasted to either
Any, Other, or Union.
|
static interface |
XSWildcard.Any
##any wildcard. |
static interface |
XSWildcard.Other
##other wildcard. |
static interface |
XSWildcard.Union
Wildcard of a set of namespace URIs.
|
interface |
XSXPath
Selector or field of
XSIdentityConstraint . |
Modifier and Type | Method and Description |
---|---|
XSComponent |
XSComponent.selectSingle(java.lang.String scd,
javax.xml.namespace.NamespaceContext nsContext)
Evaluates a schema component designator against this schema component
and returns the first resulting schema component.
|
XSComponent |
XSSchemaSet.selectSingle(java.lang.String scd,
javax.xml.namespace.NamespaceContext nsContext)
Evaluates a schema component designator against this schema component
and returns the first resulting schema component.
|
XSComponent |
SCD.selectSingle(XSComponent contextNode)
Evaluates the SCD against the given context node and
returns the matched node.
|
XSComponent |
SCD.selectSingle(XSSchemaSet contextNode)
Evaluates the SCD against the whole schema set and
returns the matched node.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<XSComponent> |
SCD.select(java.util.Collection<? extends XSComponent> contextNodes)
Evaluates the SCD against the given set of context nodes and
returns the matched nodes.
|
abstract java.util.Iterator<XSComponent> |
SCD.select(java.util.Iterator<? extends XSComponent> contextNodes)
Evaluates the SCD against the given set of context nodes and
returns the matched nodes.
|
java.util.Collection<XSComponent> |
XSComponent.select(java.lang.String scd,
javax.xml.namespace.NamespaceContext nsContext)
Evaluates a schema component designator against this schema component
and returns the resulting schema components.
|
java.util.Collection<XSComponent> |
XSSchemaSet.select(java.lang.String scd,
javax.xml.namespace.NamespaceContext nsContext)
Evaluates a schema component designator against this schema component
and returns the resulting schema components.
|
java.util.Collection<XSComponent> |
SCD.select(XSComponent contextNode)
Evaluates the SCD against the given context node and
returns the matched nodes.
|
java.util.Collection<XSComponent> |
SCD.select(XSSchemaSet contextNode)
Evaluates the SCD against the whole schema and
returns the matched nodes.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<XSComponent> |
SCD.select(XSComponent contextNode)
Evaluates the SCD against the given context node and
returns the matched nodes.
|
XSComponent |
SCD.selectSingle(XSComponent contextNode)
Evaluates the SCD against the given context node and
returns the matched node.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<XSComponent> |
SCD.select(java.util.Collection<? extends XSComponent> contextNodes)
Evaluates the SCD against the given set of context nodes and
returns the matched nodes.
|
abstract java.util.Iterator<XSComponent> |
SCD.select(java.util.Iterator<? extends XSComponent> contextNodes)
Evaluates the SCD against the given set of context nodes and
returns the matched nodes.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ContentTypeImpl
Marker interface that says this implementation
implements XSContentType.
|
Modifier and Type | Class and Description |
---|---|
class |
AttGroupDeclImpl |
class |
AttributeDeclImpl |
class |
AttributesHolder |
class |
AttributeUseImpl |
class |
ComplexTypeImpl |
class |
ComponentImpl |
(package private) class |
DeclarationImpl |
class |
ElementDecl |
class |
EmptyImpl |
class |
FacetImpl |
class |
IdentityConstraintImpl
XSIdentityConstraint implementation. |
class |
ListSimpleTypeImpl |
class |
ModelGroupDeclImpl |
class |
ModelGroupImpl |
class |
NotationImpl |
class |
ParticleImpl |
class |
RestrictionSimpleTypeImpl |
class |
SchemaImpl |
private class |
SchemaSetImpl.AnySimpleType |
private class |
SchemaSetImpl.AnyType |
class |
SimpleTypeImpl |
class |
UnionSimpleTypeImpl |
class |
WildcardImpl |
static class |
WildcardImpl.Any |
static class |
WildcardImpl.Finite |
static class |
WildcardImpl.Other |
class |
XPathImpl |
Modifier and Type | Method and Description |
---|---|
XSComponent |
ComponentImpl.selectSingle(java.lang.String scd,
javax.xml.namespace.NamespaceContext nsContext) |
XSComponent |
SchemaSetImpl.selectSingle(java.lang.String scd,
javax.xml.namespace.NamespaceContext nsContext) |
XSComponent |
SchemaImpl.selectSingle(java.lang.String scd,
javax.xml.namespace.NamespaceContext nsContext) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<XSComponent> |
ComponentImpl.select(java.lang.String scd,
javax.xml.namespace.NamespaceContext nsContext) |
java.util.Collection<XSComponent> |
SchemaSetImpl.select(java.lang.String scd,
javax.xml.namespace.NamespaceContext nsContext) |
java.util.Collection<XSComponent> |
SchemaImpl.select(java.lang.String scd,
javax.xml.namespace.NamespaceContext nsContext) |
Modifier and Type | Class and Description |
---|---|
(package private) class |
AbstractAxisImpl<T extends XSComponent>
Partial default implementation of
Axis . |
interface |
Axis<T extends XSComponent>
Axis of traversal.
|
class |
Step<T extends XSComponent>
Building block of
SCD . |
private static class |
Step.Filtered<T extends XSComponent> |
Modifier and Type | Field and Description |
---|---|
static Axis<XSComponent> |
Axis.DESCENDANTS
All descendants reachable via default axes.
|
static Axis<XSComponent> |
Axis.INTERMEDIATE_SKIP
Pseudo-axis that visits all skipped intermediate steps.
|
static Axis<XSComponent> |
Axis.SCOPE |
Modifier and Type | Method and Description |
---|---|
protected java.util.Iterator<? extends XSComponent> |
Step.Any.filter(java.util.Iterator<? extends XSComponent> base) |
java.util.Iterator<XSComponent> |
SCDImpl.select(java.util.Iterator<? extends XSComponent> contextNode) |
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<T> |
Axis.iterator(XSComponent contextNode) |
java.util.Iterator<T> |
AbstractAxisImpl.iterator(XSComponent contextNode) |
protected java.util.Iterator<T> |
AbstractAxisImpl.union(T... items) |
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<T> |
Step.evaluate(java.util.Iterator<XSComponent> nodeSet)
Evaluate this step against the current node set
and returns matched nodes.
|
protected java.util.Iterator<? extends XSComponent> |
Step.Any.filter(java.util.Iterator<? extends XSComponent> base) |
java.util.Iterator<T> |
Axis.iterator(java.util.Iterator<? extends XSComponent> contextNodes) |
java.util.Iterator<T> |
AbstractAxisImpl.iterator(java.util.Iterator<? extends XSComponent> contextNodes)
Default implementation that simply delegate sto
AbstractAxisImpl.iterator(XSComponent) |
java.util.Iterator<XSComponent> |
SCDImpl.select(java.util.Iterator<? extends XSComponent> contextNode) |
Constructor and Description |
---|
Any(Axis<? extends XSComponent> axis) |
Modifier and Type | Method and Description |
---|---|
boolean |
XSFinder.find(XSComponent c)
Invokes this object as a visitor with the specified component.
|
static java.lang.String |
NameGetter.get(XSComponent comp)
Gets the name of the specified component in the default locale.
|