com.sun.xml.xsom.impl
Class ModelGroupImpl
java.lang.Object
com.sun.xml.xsom.impl.ComponentImpl
com.sun.xml.xsom.impl.ModelGroupImpl
- All Implemented Interfaces:
- Ref.Term, XSComponent, XSModelGroup, XSTerm, Iterable<XSParticle>
public class ModelGroupImpl
- extends ComponentImpl
- implements XSModelGroup, Ref.Term
| Methods inherited from class com.sun.xml.xsom.impl.ComponentImpl |
getAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingle, toString |
ModelGroupImpl
public ModelGroupImpl(SchemaDocumentImpl owner,
AnnotationImpl _annon,
Locator _loc,
ForeignAttributesImpl _fa,
XSModelGroup.Compositor _compositor,
ParticleImpl[] _children)
getChild
public ParticleImpl getChild(int idx)
- Description copied from interface:
XSModelGroup
- Gets i-ith child.
- Specified by:
getChild in interface XSModelGroup
getSize
public int getSize()
- Description copied from interface:
XSModelGroup
- Gets the number of children.
- Specified by:
getSize in interface XSModelGroup
getChildren
public ParticleImpl[] getChildren()
- Description copied from interface:
XSModelGroup
- Gets all the children in one array.
- Specified by:
getChildren in interface XSModelGroup
getCompositor
public XSModelGroup.Compositor getCompositor()
- Specified by:
getCompositor in interface XSModelGroup
redefine
public void redefine(ModelGroupDeclImpl oldMG)
iterator
public Iterator<XSParticle> iterator()
- Specified by:
iterator in interface Iterable<XSParticle>
isWildcard
public boolean isWildcard()
- Specified by:
isWildcard in interface XSTerm
isModelGroupDecl
public boolean isModelGroupDecl()
- Specified by:
isModelGroupDecl in interface XSTerm
isModelGroup
public boolean isModelGroup()
- Specified by:
isModelGroup in interface XSTerm
isElementDecl
public boolean isElementDecl()
- Specified by:
isElementDecl in interface XSTerm
asWildcard
public XSWildcard asWildcard()
- Specified by:
asWildcard in interface XSTerm
asModelGroupDecl
public XSModelGroupDecl asModelGroupDecl()
- Specified by:
asModelGroupDecl in interface XSTerm
asModelGroup
public XSModelGroup asModelGroup()
- Specified by:
asModelGroup in interface XSTerm
asElementDecl
public XSElementDecl asElementDecl()
- Specified by:
asElementDecl in interface XSTerm
visit
public void visit(XSVisitor visitor)
- Description copied from interface:
XSComponent
- Accepts a visitor.
- Specified by:
visit in interface XSComponent
visit
public void visit(XSTermVisitor visitor)
- Specified by:
visit in interface XSTerm
apply
public Object apply(XSTermFunction function)
- Specified by:
apply in interface XSTerm
apply
public <T,P> T apply(XSTermFunctionWithParam<T,P> function,
P param)
- Specified by:
apply in interface XSTerm
apply
public Object apply(XSFunction function)
- Description copied from interface:
XSComponent
- Accepts a functor.
- Specified by:
apply in interface XSComponent
getTerm
public XSTerm getTerm()
- Description copied from interface:
Ref.Term
- Obtains a reference as a term.
- Specified by:
getTerm in interface Ref.Term
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.