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
-
Method Summary
Modifier and TypeMethodDescriptionannotation
(XSAnnotation ann) attGroupDecl
(XSAttGroupDecl decl) attributeDecl
(XSAttributeDecl decl) complexType
(XSComplexType type) elementDecl
(XSElementDecl decl) empty
(XSContentType empty) final boolean
find
(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:
annotation
in interfaceXSFunction<Boolean>
- See Also:
-
attGroupDecl
- Specified by:
attGroupDecl
in interfaceXSFunction<Boolean>
- See Also:
-
attributeDecl
- Specified by:
attributeDecl
in interfaceXSFunction<Boolean>
- See Also:
-
attributeUse
- Specified by:
attributeUse
in interfaceXSFunction<Boolean>
- See Also:
-
complexType
- Specified by:
complexType
in interfaceXSFunction<Boolean>
- See Also:
-
schema
- Specified by:
schema
in interfaceXSFunction<Boolean>
- See Also:
-
facet
- Specified by:
facet
in interfaceXSFunction<Boolean>
- See Also:
-
notation
- Specified by:
notation
in interfaceXSFunction<Boolean>
- See Also:
-
simpleType
- Specified by:
simpleType
in interfaceXSContentTypeFunction<Boolean>
- See Also:
-
particle
- Specified by:
particle
in interfaceXSContentTypeFunction<Boolean>
- See Also:
-
empty
- Specified by:
empty
in interfaceXSContentTypeFunction<Boolean>
- See Also:
-
wildcard
- Specified by:
wildcard
in interfaceXSTermFunction<Boolean>
- See Also:
-
modelGroupDecl
- Specified by:
modelGroupDecl
in interfaceXSTermFunction<Boolean>
- See Also:
-
modelGroup
- Specified by:
modelGroup
in interfaceXSTermFunction<Boolean>
- See Also:
-
elementDecl
- Specified by:
elementDecl
in interfaceXSTermFunction<Boolean>
- See Also:
-
identityConstraint
- Specified by:
identityConstraint
in interfaceXSFunction<Boolean>
-
xpath
- Specified by:
xpath
in interfaceXSFunction<Boolean>
-