Package com.sun.xml.xsom.util
Class XSFinder
java.lang.Object
com.sun.xml.xsom.util.XSFinder
- All Implemented Interfaces:
XSContentTypeFunction<Boolean>,XSFunction<Boolean>,XSTermFunction<Boolean>
Utility implementation of
XSFunction that returns
Boolean to find something from schema objects.
This implementation returns Boolean.FALSE from
all of the methods. The derived class is expected to override
some of the methods to actually look for something.
- Author:
- Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionannotation(XSAnnotation ann) attGroupDecl(XSAttGroupDecl decl) attributeDecl(XSAttributeDecl decl) complexType(XSComplexType type) elementDecl(XSElementDecl decl) empty(XSContentType empty) final booleanfind(XSComponent c) Invokes this object as a visitor with the specified component.modelGroup(XSModelGroup group) notation(XSNotation notation) particle(XSParticle particle) simpleType(XSSimpleType simpleType) wildcard(XSWildcard wc)
-
Constructor Details
-
XSFinder
public XSFinder()
-
-
Method Details
-
find
Invokes this object as a visitor with the specified component. -
annotation
- Specified by:
annotationin interfaceXSFunction<Boolean>- See Also:
-
attGroupDecl
- Specified by:
attGroupDeclin interfaceXSFunction<Boolean>- See Also:
-
attributeDecl
- Specified by:
attributeDeclin interfaceXSFunction<Boolean>- See Also:
-
attributeUse
- Specified by:
attributeUsein interfaceXSFunction<Boolean>- See Also:
-
complexType
- Specified by:
complexTypein interfaceXSFunction<Boolean>- See Also:
-
schema
- Specified by:
schemain interfaceXSFunction<Boolean>- See Also:
-
facet
- Specified by:
facetin interfaceXSFunction<Boolean>- See Also:
-
notation
- Specified by:
notationin interfaceXSFunction<Boolean>- See Also:
-
simpleType
- Specified by:
simpleTypein interfaceXSContentTypeFunction<Boolean>- See Also:
-
particle
- Specified by:
particlein interfaceXSContentTypeFunction<Boolean>- See Also:
-
empty
- Specified by:
emptyin interfaceXSContentTypeFunction<Boolean>- See Also:
-
wildcard
- Specified by:
wildcardin interfaceXSTermFunction<Boolean>- See Also:
-
modelGroupDecl
- Specified by:
modelGroupDeclin interfaceXSTermFunction<Boolean>- See Also:
-
modelGroup
- Specified by:
modelGroupin interfaceXSTermFunction<Boolean>- See Also:
-
elementDecl
- Specified by:
elementDeclin interfaceXSTermFunction<Boolean>- See Also:
-
identityConstraint
- Specified by:
identityConstraintin interfaceXSFunction<Boolean>
-
xpath
- Specified by:
xpathin interfaceXSFunction<Boolean>
-