Package com.sun.xml.xsom.util
Class XSFunctionFilter<T>
- java.lang.Object
-
- com.sun.xml.xsom.util.XSFunctionFilter<T>
-
- All Implemented Interfaces:
XSContentTypeFunction<T>,XSFunction<T>,XSTermFunction<T>
public class XSFunctionFilter<T> extends Object implements XSFunction<T>
Filter implementation of XSFilter. This class forwards all the method calls to another XSFunction.This class is intended to be derived by client application to add some meaningful behavior.
- Author:
- Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)
-
-
Field Summary
Fields Modifier and Type Field Description protected XSFunction<T>coreThis object will receive all forwarded calls.
-
Constructor Summary
Constructors Constructor Description XSFunctionFilter()XSFunctionFilter(XSFunction<T> _core)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tannotation(XSAnnotation ann)TattGroupDecl(XSAttGroupDecl decl)TattributeDecl(XSAttributeDecl decl)TattributeUse(XSAttributeUse use)TcomplexType(XSComplexType type)TelementDecl(XSElementDecl decl)Tempty(XSContentType empty)Tfacet(XSFacet facet)TidentityConstraint(XSIdentityConstraint decl)TmodelGroup(XSModelGroup group)TmodelGroupDecl(XSModelGroupDecl decl)Tnotation(XSNotation notation)Tparticle(XSParticle particle)Tschema(XSSchema schema)TsimpleType(XSSimpleType simpleType)Twildcard(XSWildcard wc)Txpath(XSXPath xpath)
-
-
-
Field Detail
-
core
protected XSFunction<T> core
This object will receive all forwarded calls.
-
-
Constructor Detail
-
XSFunctionFilter
public XSFunctionFilter(XSFunction<T> _core)
-
XSFunctionFilter
public XSFunctionFilter()
-
-
Method Detail
-
annotation
public T annotation(XSAnnotation ann)
- Specified by:
annotationin interfaceXSFunction<T>
-
attGroupDecl
public T attGroupDecl(XSAttGroupDecl decl)
- Specified by:
attGroupDeclin interfaceXSFunction<T>
-
attributeDecl
public T attributeDecl(XSAttributeDecl decl)
- Specified by:
attributeDeclin interfaceXSFunction<T>
-
attributeUse
public T attributeUse(XSAttributeUse use)
- Specified by:
attributeUsein interfaceXSFunction<T>
-
complexType
public T complexType(XSComplexType type)
- Specified by:
complexTypein interfaceXSFunction<T>
-
schema
public T schema(XSSchema schema)
- Specified by:
schemain interfaceXSFunction<T>
-
facet
public T facet(XSFacet facet)
- Specified by:
facetin interfaceXSFunction<T>
-
notation
public T notation(XSNotation notation)
- Specified by:
notationin interfaceXSFunction<T>
-
simpleType
public T simpleType(XSSimpleType simpleType)
- Specified by:
simpleTypein interfaceXSContentTypeFunction<T>
-
particle
public T particle(XSParticle particle)
- Specified by:
particlein interfaceXSContentTypeFunction<T>
-
empty
public T empty(XSContentType empty)
- Specified by:
emptyin interfaceXSContentTypeFunction<T>
-
wildcard
public T wildcard(XSWildcard wc)
- Specified by:
wildcardin interfaceXSTermFunction<T>
-
modelGroupDecl
public T modelGroupDecl(XSModelGroupDecl decl)
- Specified by:
modelGroupDeclin interfaceXSTermFunction<T>
-
modelGroup
public T modelGroup(XSModelGroup group)
- Specified by:
modelGroupin interfaceXSTermFunction<T>
-
elementDecl
public T elementDecl(XSElementDecl decl)
- Specified by:
elementDeclin interfaceXSTermFunction<T>
-
identityConstraint
public T identityConstraint(XSIdentityConstraint decl)
- Specified by:
identityConstraintin interfaceXSFunction<T>
-
xpath
public T xpath(XSXPath xpath)
- Specified by:
xpathin interfaceXSFunction<T>
-
-