Examples of visit()


Examples of org.apache.cayenne.reflect.PropertyDescriptor.visit()

                ((ObjectId) nodeId).getEntityName());
        PropertyDescriptor property = descriptor.getProperty(arcId.toString());

        setExternalChange(Boolean.TRUE);
        try {
            property.visit(new PropertyVisitor() {

                public boolean visitAttribute(AttributeProperty property) {
                    return false;
                }
View Full Code Here

Examples of org.apache.commons.configuration.tree.ConfigurationNode.visit()

            if (nd.getValue() != null)
            {
                value = nd.getValue();
                valueCount++;
            }
            nd.visit(visitor);

            for (Iterator it2 = visitor.getClone().getChildren().iterator(); it2
                    .hasNext();)
            {
                result.getRootNode().addChild((ConfigurationNode) it2.next());
View Full Code Here

Examples of org.apache.cxf.common.util.ASMHelper.ClassWriter.visit()

                return null;
            }
            String superName = "org/eclipse/persistence/internal/oxm/record/namespaces/MapNamespacePrefixMapper";
            FieldVisitor fv;
            MethodVisitor mv;
            cw.visit(Opcodes.V1_6,
                     Opcodes.ACC_PUBLIC + Opcodes.ACC_FINAL + Opcodes.ACC_SUPER,
                     slashedName, null,
                     superName, null);

            cw.visitSource("EclipseNamespaceMapper.java", null);
View Full Code Here

Examples of org.apache.directory.api.ldap.model.filter.BranchNormalizedVisitor.visit()

        ExprNode altered = FilterParser.parse( filter );

        BranchNormalizedVisitor visitor = new BranchNormalizedVisitor();

        visitor.visit( altered );

        assertEquals( ori.toString(), altered.toString() );
    }

View Full Code Here

Examples of org.apache.directory.shared.ldap.model.filter.BranchNormalizedVisitor.visit()

        ExprNode altered = FilterParser.parse( filter );

        BranchNormalizedVisitor visitor = new BranchNormalizedVisitor();

        visitor.visit( altered );

        assertEquals( ori.toString(), altered.toString() );
    }

View Full Code Here

Examples of org.apache.felix.sigil.common.model.ICompoundModelElement.visit()

            reqs.add((IRequirementModelElement) element);
        }
        else if (element instanceof ICompoundModelElement)
        {
            ICompoundModelElement compound = (ICompoundModelElement) element;
            compound.visit(new IModelWalker()
            {
                public boolean visit(IModelElement element)
                {
                    if (element instanceof IRequirementModelElement)
                    {
View Full Code Here

Examples of org.apache.felix.sigil.common.model.eclipse.ISigilBundle.visit()

            }
            else
            {
                final boolean[] dep = new boolean[1];

                b.visit(new IModelWalker()
                {
                    public boolean visit(IModelElement element)
                    {
                        if (element instanceof IRequirementModelElement)
                        {
View Full Code Here

Examples of org.apache.felix.sigil.common.osgi.LDAPExpr.visit()

  public void added(Collection listeners) {
    for (final ListenerInfo info : (Collection<ListenerInfo>) listeners) {
      if (!info.isRemoved()) {
        log.info("Adding listener " + info);
        LDAPExpr expr = LDAPParser.parseExpression(info.getFilter());
        expr.visit(new ExprVisitor() {
          public void visitExpr(LDAPExpr expr) {
            if (expr instanceof SimpleTerm) {
              SimpleTerm term = (SimpleTerm) expr;
              if (term.getName().equals(Constants.OBJECTCLASS)) {
                watcher.addWatch(term.getRval(), info.getFilter());
View Full Code Here

Examples of org.apache.felix.sigil.eclipse.model.project.ISigilProjectModel.visit()

    }

    private void readCapabilities(IProject project) throws CoreException
    {
        ISigilProjectModel sigil = SigilCore.create(project);
        sigil.visit(new IModelWalker()
        {
            public boolean visit(IModelElement element)
            {
                if (element instanceof ICapabilityModelElement)
                {
View Full Code Here

Examples of org.apache.flex.abc.ABCEmitter.visit()

        }
       
        private boolean addGeneratedStylesClassToFrame(SWFFrame frame, Set<ICompilationUnit> emittedCompilationUnits) throws Exception
        {
            ABCEmitter emitter = new ABCEmitter();
            emitter.visit(ABCConstants.VERSION_ABC_MAJOR_FP10, ABCConstants.VERSION_ABC_MINOR_FP10);
            ICSSCodeGenResult cssCodeGenResult = cssCompilationSession.emitStyleDataClass(flexProject, emitter);

            Name stylesClassName = new Name(getStylesClassName());

            IDefinition objectDef = objectReference.resolve(flexProject);
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.