public class XSFinder extends Object implements XSFunction<Boolean>
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.
| Constructor and Description |
|---|
XSFinder() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
annotation(XSAnnotation ann) |
Boolean |
attGroupDecl(XSAttGroupDecl decl) |
Boolean |
attributeDecl(XSAttributeDecl decl) |
Boolean |
attributeUse(XSAttributeUse use) |
Boolean |
complexType(XSComplexType type) |
Boolean |
elementDecl(XSElementDecl decl) |
Boolean |
empty(XSContentType empty) |
Boolean |
facet(XSFacet facet) |
boolean |
find(XSComponent c)
Invokes this object as a visitor with the specified component.
|
Boolean |
identityConstraint(XSIdentityConstraint decl) |
Boolean |
modelGroup(XSModelGroup group) |
Boolean |
modelGroupDecl(XSModelGroupDecl decl) |
Boolean |
notation(XSNotation notation) |
Boolean |
particle(XSParticle particle) |
Boolean |
schema(XSSchema schema) |
Boolean |
simpleType(XSSimpleType simpleType) |
Boolean |
wildcard(XSWildcard wc) |
Boolean |
xpath(XSXPath xpath) |
public final boolean find(XSComponent c)
public Boolean annotation(XSAnnotation ann)
annotation in interface XSFunction<Boolean>XSFunction.annotation(com.sun.xml.xsom.XSAnnotation)public Boolean attGroupDecl(XSAttGroupDecl decl)
attGroupDecl in interface XSFunction<Boolean>XSFunction.attGroupDecl(com.sun.xml.xsom.XSAttGroupDecl)public Boolean attributeDecl(XSAttributeDecl decl)
attributeDecl in interface XSFunction<Boolean>XSFunction.attributeDecl(com.sun.xml.xsom.XSAttributeDecl)public Boolean attributeUse(XSAttributeUse use)
attributeUse in interface XSFunction<Boolean>XSFunction.attributeUse(com.sun.xml.xsom.XSAttributeUse)public Boolean complexType(XSComplexType type)
complexType in interface XSFunction<Boolean>XSFunction.complexType(com.sun.xml.xsom.XSComplexType)public Boolean schema(XSSchema schema)
schema in interface XSFunction<Boolean>XSFunction.schema(com.sun.xml.xsom.XSSchema)public Boolean facet(XSFacet facet)
facet in interface XSFunction<Boolean>XSFunction.facet(com.sun.xml.xsom.XSFacet)public Boolean notation(XSNotation notation)
notation in interface XSFunction<Boolean>XSFunction.notation(com.sun.xml.xsom.XSNotation)public Boolean simpleType(XSSimpleType simpleType)
simpleType in interface XSContentTypeFunction<Boolean>XSContentTypeFunction.simpleType(com.sun.xml.xsom.XSSimpleType)public Boolean particle(XSParticle particle)
particle in interface XSContentTypeFunction<Boolean>XSContentTypeFunction.particle(com.sun.xml.xsom.XSParticle)public Boolean empty(XSContentType empty)
empty in interface XSContentTypeFunction<Boolean>XSContentTypeFunction.empty(com.sun.xml.xsom.XSContentType)public Boolean wildcard(XSWildcard wc)
wildcard in interface XSTermFunction<Boolean>XSTermFunction.wildcard(com.sun.xml.xsom.XSWildcard)public Boolean modelGroupDecl(XSModelGroupDecl decl)
modelGroupDecl in interface XSTermFunction<Boolean>XSTermFunction.modelGroupDecl(com.sun.xml.xsom.XSModelGroupDecl)public Boolean modelGroup(XSModelGroup group)
modelGroup in interface XSTermFunction<Boolean>XSTermFunction.modelGroup(com.sun.xml.xsom.XSModelGroup)public Boolean elementDecl(XSElementDecl decl)
elementDecl in interface XSTermFunction<Boolean>XSTermFunction.elementDecl(com.sun.xml.xsom.XSElementDecl)public Boolean identityConstraint(XSIdentityConstraint decl)
identityConstraint in interface XSFunction<Boolean>public Boolean xpath(XSXPath xpath)
xpath in interface XSFunction<Boolean>Copyright © 2005–2017 Oracle Corporation. All rights reserved.