XSOM 20110809-redhat-3

com.sun.xml.xsom.util
Class XSFunctionFilter<T>

java.lang.Object
  extended by 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
protected  XSFunction<T> core
          This object will receive all forwarded calls.
 
Constructor Summary
XSFunctionFilter()
           
XSFunctionFilter(XSFunction<T> _core)
           
 
Method Summary
 T annotation(XSAnnotation ann)
           
 T attGroupDecl(XSAttGroupDecl decl)
           
 T attributeDecl(XSAttributeDecl decl)
           
 T attributeUse(XSAttributeUse use)
           
 T complexType(XSComplexType type)
           
 T elementDecl(XSElementDecl decl)
           
 T empty(XSContentType empty)
           
 T facet(XSFacet facet)
           
 T identityConstraint(XSIdentityConstraint decl)
           
 T modelGroup(XSModelGroup group)
           
 T modelGroupDecl(XSModelGroupDecl decl)
           
 T notation(XSNotation notation)
           
 T particle(XSParticle particle)
           
 T schema(XSSchema schema)
           
 T simpleType(XSSimpleType simpleType)
           
 T wildcard(XSWildcard wc)
           
 T xpath(XSXPath xpath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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:
annotation in interface XSFunction<T>

attGroupDecl

public T attGroupDecl(XSAttGroupDecl decl)
Specified by:
attGroupDecl in interface XSFunction<T>

attributeDecl

public T attributeDecl(XSAttributeDecl decl)
Specified by:
attributeDecl in interface XSFunction<T>

attributeUse

public T attributeUse(XSAttributeUse use)
Specified by:
attributeUse in interface XSFunction<T>

complexType

public T complexType(XSComplexType type)
Specified by:
complexType in interface XSFunction<T>

schema

public T schema(XSSchema schema)
Specified by:
schema in interface XSFunction<T>

facet

public T facet(XSFacet facet)
Specified by:
facet in interface XSFunction<T>

notation

public T notation(XSNotation notation)
Specified by:
notation in interface XSFunction<T>

simpleType

public T simpleType(XSSimpleType simpleType)
Specified by:
simpleType in interface XSContentTypeFunction<T>

particle

public T particle(XSParticle particle)
Specified by:
particle in interface XSContentTypeFunction<T>

empty

public T empty(XSContentType empty)
Specified by:
empty in interface XSContentTypeFunction<T>

wildcard

public T wildcard(XSWildcard wc)
Specified by:
wildcard in interface XSTermFunction<T>

modelGroupDecl

public T modelGroupDecl(XSModelGroupDecl decl)
Specified by:
modelGroupDecl in interface XSTermFunction<T>

modelGroup

public T modelGroup(XSModelGroup group)
Specified by:
modelGroup in interface XSTermFunction<T>

elementDecl

public T elementDecl(XSElementDecl decl)
Specified by:
elementDecl in interface XSTermFunction<T>

identityConstraint

public T identityConstraint(XSIdentityConstraint decl)
Specified by:
identityConstraint in interface XSFunction<T>

xpath

public T xpath(XSXPath xpath)
Specified by:
xpath in interface XSFunction<T>

XSOM 20110809-redhat-3

Copyright © 2012 Oracle. All Rights Reserved.