com.sun.xml.xsom.util
Class XSFinder
java.lang.Object
com.sun.xml.xsom.util.XSFinder
- All Implemented Interfaces:
- XSContentTypeFunction<java.lang.Boolean>, XSFunction<java.lang.Boolean>, XSTermFunction<java.lang.Boolean>
public class XSFinder
- extends java.lang.Object
- implements XSFunction<java.lang.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)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XSFinder
public XSFinder()
find
public final boolean find(XSComponent c)
- Invokes this object as a visitor with the specified component.
annotation
public java.lang.Boolean annotation(XSAnnotation ann)
- Specified by:
annotation in interface XSFunction<java.lang.Boolean>
- See Also:
XSFunction.annotation(com.sun.xml.xsom.XSAnnotation)
attGroupDecl
public java.lang.Boolean attGroupDecl(XSAttGroupDecl decl)
- Specified by:
attGroupDecl in interface XSFunction<java.lang.Boolean>
- See Also:
XSFunction.attGroupDecl(com.sun.xml.xsom.XSAttGroupDecl)
attributeDecl
public java.lang.Boolean attributeDecl(XSAttributeDecl decl)
- Specified by:
attributeDecl in interface XSFunction<java.lang.Boolean>
- See Also:
XSFunction.attributeDecl(com.sun.xml.xsom.XSAttributeDecl)
attributeUse
public java.lang.Boolean attributeUse(XSAttributeUse use)
- Specified by:
attributeUse in interface XSFunction<java.lang.Boolean>
- See Also:
XSFunction.attributeUse(com.sun.xml.xsom.XSAttributeUse)
complexType
public java.lang.Boolean complexType(XSComplexType type)
- Specified by:
complexType in interface XSFunction<java.lang.Boolean>
- See Also:
XSFunction.complexType(com.sun.xml.xsom.XSComplexType)
schema
public java.lang.Boolean schema(XSSchema schema)
- Specified by:
schema in interface XSFunction<java.lang.Boolean>
- See Also:
XSFunction.schema(com.sun.xml.xsom.XSSchema)
facet
public java.lang.Boolean facet(XSFacet facet)
- Specified by:
facet in interface XSFunction<java.lang.Boolean>
- See Also:
XSFunction.facet(com.sun.xml.xsom.XSFacet)
notation
public java.lang.Boolean notation(XSNotation notation)
- Specified by:
notation in interface XSFunction<java.lang.Boolean>
- See Also:
XSFunction.notation(com.sun.xml.xsom.XSNotation)
simpleType
public java.lang.Boolean simpleType(XSSimpleType simpleType)
- Specified by:
simpleType in interface XSContentTypeFunction<java.lang.Boolean>
- See Also:
XSContentTypeFunction.simpleType(com.sun.xml.xsom.XSSimpleType)
particle
public java.lang.Boolean particle(XSParticle particle)
- Specified by:
particle in interface XSContentTypeFunction<java.lang.Boolean>
- See Also:
XSContentTypeFunction.particle(com.sun.xml.xsom.XSParticle)
empty
public java.lang.Boolean empty(XSContentType empty)
- Specified by:
empty in interface XSContentTypeFunction<java.lang.Boolean>
- See Also:
XSContentTypeFunction.empty(com.sun.xml.xsom.XSContentType)
wildcard
public java.lang.Boolean wildcard(XSWildcard wc)
- Specified by:
wildcard in interface XSTermFunction<java.lang.Boolean>
- See Also:
XSTermFunction.wildcard(com.sun.xml.xsom.XSWildcard)
modelGroupDecl
public java.lang.Boolean modelGroupDecl(XSModelGroupDecl decl)
- Specified by:
modelGroupDecl in interface XSTermFunction<java.lang.Boolean>
- See Also:
XSTermFunction.modelGroupDecl(com.sun.xml.xsom.XSModelGroupDecl)
modelGroup
public java.lang.Boolean modelGroup(XSModelGroup group)
- Specified by:
modelGroup in interface XSTermFunction<java.lang.Boolean>
- See Also:
XSTermFunction.modelGroup(com.sun.xml.xsom.XSModelGroup)
elementDecl
public java.lang.Boolean elementDecl(XSElementDecl decl)
- Specified by:
elementDecl in interface XSTermFunction<java.lang.Boolean>
- See Also:
XSTermFunction.elementDecl(com.sun.xml.xsom.XSElementDecl)
identityConstraint
public java.lang.Boolean identityConstraint(XSIdentityConstraint decl)
- Specified by:
identityConstraint in interface XSFunction<java.lang.Boolean>
xpath
public java.lang.Boolean xpath(XSXPath xpath)
- Specified by:
xpath in interface XSFunction<java.lang.Boolean>
Copyright © 2005-2013 Oracle Corporation. All Rights Reserved.