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 ([email protected])
-
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 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()Default constructor.
-
-
Method Details
-
find
Invokes this object as a visitor with the specified component. -
annotation
- Specified by:
annotation
in interfaceXSFunction<Boolean>
-
attGroupDecl
- Specified by:
attGroupDecl
in interfaceXSFunction<Boolean>
-
attributeDecl
- Specified by:
attributeDecl
in interfaceXSFunction<Boolean>
-
attributeUse
- Specified by:
attributeUse
in interfaceXSFunction<Boolean>
-
complexType
- Specified by:
complexType
in interfaceXSFunction<Boolean>
-
schema
- Specified by:
schema
in interfaceXSFunction<Boolean>
-
facet
- Specified by:
facet
in interfaceXSFunction<Boolean>
-
notation
- Specified by:
notation
in interfaceXSFunction<Boolean>
-
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>
-