com.sun.xml.xsom.impl.scd
Class Axis.ModelGroupAxis

java.lang.Object
  extended by com.sun.xml.xsom.impl.scd.Axis.ModelGroupAxis
All Implemented Interfaces:
Axis<XSModelGroup>, XSContentTypeFunction<Iterator<XSModelGroup>>, XSFunction<Iterator<XSModelGroup>>, XSTermFunction<Iterator<XSModelGroup>>
Enclosing interface:
Axis<T extends XSComponent>

public static final class Axis.ModelGroupAxis
extends Object


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.sun.xml.xsom.impl.scd.Axis
Axis.ModelGroupAxis
 
Field Summary
 
Fields inherited from interface com.sun.xml.xsom.impl.scd.Axis
ATTRIBUTE, ATTRIBUTE_GROUP, ATTRIBUTE_WILDCARD, BASETYPE, DESCENDANTS, ELEMENT, FACET, IDENTITY_CONSTRAINT, INTERMEDIATE_SKIP, ITEM_TYPE, MEMBER_TYPE, MODEL_GROUP_DECL, MODELGROUP_ALL, MODELGROUP_ANY, MODELGROUP_CHOICE, MODELGROUP_SEQUENCE, NOTATION, PRIMITIVE_TYPE, REFERENCED_KEY, ROOT, SCOPE, SUBSTITUTION_GROUP, TYPE_DEFINITION, WILDCARD, X_SCHEMA
 
Method Summary
 Iterator<T> annotation(XSAnnotation ann)
           
 Iterator<T> attGroupDecl(XSAttGroupDecl decl)
           
 Iterator<T> attributeDecl(XSAttributeDecl decl)
           
 Iterator<T> attributeUse(XSAttributeUse use)
           
 Iterator<T> complexType(XSComplexType type)
           
 Iterator<T> elementDecl(XSElementDecl decl)
           
protected  Iterator<T> empty()
          Returns an empty list.
 Iterator<T> empty(XSContentType empty)
           
 Iterator<T> facet(XSFacet facet)
           
 String getName()
          Gets the prefix of the axis, like "foo::".
 Iterator<T> identityConstraint(XSIdentityConstraint decl)
           
 boolean isModelGroup()
          Returns true if this is one of the model group axis.
 Iterator<T> iterator(Iterator<? extends XSComponent> contextNodes)
          Default implementation that simply delegate sto iterator(XSComponent)
 Iterator<T> iterator(XSComponent contextNode)
           
 Iterator<T> modelGroup(XSModelGroup group)
           
 Iterator<XSModelGroup> modelGroupDecl(XSModelGroupDecl decl)
           
 Iterator<T> notation(XSNotation notation)
           
 Iterator<XSModelGroup> particle(XSParticle particle)
           
 Iterator<T> schema(XSSchema schema)
           
 Iterator<T> simpleType(XSSimpleType simpleType)
           
protected  Iterator<T> singleton(T t)
          Creates a singleton list.
 String toString()
           
protected  Iterator<T> union(Iterator<? extends T> first, Iterator<? extends T> second)
           
protected  Iterator<T> union(T... items)
           
 Iterator<T> wildcard(XSWildcard wc)
           
 Iterator<T> xpath(XSXPath xpath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

isModelGroup

public boolean isModelGroup()
Description copied from interface: Axis
Returns true if this is one of the model group axis.

Specified by:
isModelGroup in interface Axis<XSModelGroup>

particle

public Iterator<XSModelGroup> particle(XSParticle particle)
Specified by:
particle in interface XSContentTypeFunction<Iterator<XSModelGroup>>

modelGroupDecl

public Iterator<XSModelGroup> modelGroupDecl(XSModelGroupDecl decl)
Specified by:
modelGroupDecl in interface XSTermFunction<Iterator<XSModelGroup>>

toString

public String toString()
Overrides:
toString in class Object

singleton

protected final Iterator<T> singleton(T t)
Creates a singleton list.


union

protected final Iterator<T> union(T... items)

union

protected final Iterator<T> union(Iterator<? extends T> first,
                                  Iterator<? extends T> second)

iterator

public Iterator<T> iterator(XSComponent contextNode)
Specified by:
iterator in interface Axis<T extends XSComponent>

getName

public String getName()
Gets the prefix of the axis, like "foo::".


iterator

public Iterator<T> iterator(Iterator<? extends XSComponent> contextNodes)
Default implementation that simply delegate sto iterator(XSComponent)

Specified by:
iterator in interface Axis<T extends XSComponent>

annotation

public Iterator<T> annotation(XSAnnotation ann)
Specified by:
annotation in interface XSFunction<Iterator<T extends XSComponent>>

attGroupDecl

public Iterator<T> attGroupDecl(XSAttGroupDecl decl)
Specified by:
attGroupDecl in interface XSFunction<Iterator<T extends XSComponent>>

attributeDecl

public Iterator<T> attributeDecl(XSAttributeDecl decl)
Specified by:
attributeDecl in interface XSFunction<Iterator<T extends XSComponent>>

attributeUse

public Iterator<T> attributeUse(XSAttributeUse use)
Specified by:
attributeUse in interface XSFunction<Iterator<T extends XSComponent>>

complexType

public Iterator<T> complexType(XSComplexType type)
Specified by:
complexType in interface XSFunction<Iterator<T extends XSComponent>>

schema

public Iterator<T> schema(XSSchema schema)
Specified by:
schema in interface XSFunction<Iterator<T extends XSComponent>>

facet

public Iterator<T> facet(XSFacet facet)
Specified by:
facet in interface XSFunction<Iterator<T extends XSComponent>>

notation

public Iterator<T> notation(XSNotation notation)
Specified by:
notation in interface XSFunction<Iterator<T extends XSComponent>>

identityConstraint

public Iterator<T> identityConstraint(XSIdentityConstraint decl)
Specified by:
identityConstraint in interface XSFunction<Iterator<T extends XSComponent>>

xpath

public Iterator<T> xpath(XSXPath xpath)
Specified by:
xpath in interface XSFunction<Iterator<T extends XSComponent>>

simpleType

public Iterator<T> simpleType(XSSimpleType simpleType)
Specified by:
simpleType in interface XSContentTypeFunction<Iterator<T extends XSComponent>>

empty

public Iterator<T> empty(XSContentType empty)
Specified by:
empty in interface XSContentTypeFunction<Iterator<T extends XSComponent>>

wildcard

public Iterator<T> wildcard(XSWildcard wc)
Specified by:
wildcard in interface XSTermFunction<Iterator<T extends XSComponent>>

modelGroup

public Iterator<T> modelGroup(XSModelGroup group)
Specified by:
modelGroup in interface XSTermFunction<Iterator<T extends XSComponent>>

elementDecl

public Iterator<T> elementDecl(XSElementDecl decl)
Specified by:
elementDecl in interface XSTermFunction<Iterator<T extends XSComponent>>

empty

protected final Iterator<T> empty()
Returns an empty list.



Copyright © 2012 Oracle. All Rights Reserved.