Examples of ParentContext


Examples of org.apache.commons.jxpath.ri.axes.ParentContext

            case Compiler.AXIS_FOLLOWING_SIBLING :
                return new ChildContext(context, nodeTest, true, false);
            case Compiler.AXIS_NAMESPACE :
                return new NamespaceContext(context, nodeTest);
            case Compiler.AXIS_PARENT :
                return new ParentContext(context, nodeTest);
            case Compiler.AXIS_PRECEDING :
                return new PrecedingOrFollowingContext(context, nodeTest, true);
            case Compiler.AXIS_PRECEDING_SIBLING :
                return new ChildContext(context, nodeTest, true, true);
            case Compiler.AXIS_SELF :
View Full Code Here

Examples of org.apache.commons.jxpath.ri.axes.ParentContext

        case Compiler.AXIS_FOLLOWING_SIBLING :
            return new ChildContext(context, nodeTest, true, false);
        case Compiler.AXIS_NAMESPACE :
            return new NamespaceContext(context, nodeTest);
        case Compiler.AXIS_PARENT :
            return new ParentContext(context, nodeTest);
        case Compiler.AXIS_PRECEDING :
            return new PrecedingOrFollowingContext(context, nodeTest, true);
        case Compiler.AXIS_PRECEDING_SIBLING :
            return new ChildContext(context, nodeTest, true, true);
        case Compiler.AXIS_SELF :
View Full Code Here

Examples of org.apache.commons.jxpath.ri.axes.ParentContext

        case Compiler.AXIS_FOLLOWING_SIBLING :
            return new ChildContext(context, nodeTest, true, false);
        case Compiler.AXIS_NAMESPACE :
            return new NamespaceContext(context, nodeTest);
        case Compiler.AXIS_PARENT :
            return new ParentContext(context, nodeTest);
        case Compiler.AXIS_PRECEDING :
            return new PrecedingOrFollowingContext(context, nodeTest, true);
        case Compiler.AXIS_PRECEDING_SIBLING :
            return new ChildContext(context, nodeTest, true, true);
        case Compiler.AXIS_SELF :
View Full Code Here

Examples of org.apache.tuscany.core.system.annotation.ParentContext

*/
public class ParentContextProcessor extends ImplementationProcessorSupport {

    @Override
    public void visitMethod(Method method, ComponentType type) throws ConfigurationLoadException {
        ParentContext annotation = method.getAnnotation(ParentContext.class);
        if (annotation != null) {
            if (!Modifier.isPublic(method.getModifiers())) {
                InvalidSetterException e = new InvalidSetterException("ParentContext setter method is not public");
                e.setIdentifier(method.toString());
                throw e;
View Full Code Here

Examples of org.apache.tuscany.core.system.annotation.ParentContext

    }

    @Override
    public void visitField(Field field, ComponentType type) throws ConfigurationLoadException {
        int modifiers = field.getModifiers();
        ParentContext annotation = field.getAnnotation(ParentContext.class);
        if (annotation != null) {
            if (!Modifier.isPublic(modifiers) && !Modifier.isProtected(modifiers)) {
                InvalidSetterException e = new InvalidSetterException("ParentContext field is not public or protected");
                e.setIdentifier(field.getName());
                throw e;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.