Package org.apache.jetspeed.rewriter.rules

Examples of org.apache.jetspeed.rewriter.rules.Rule


    {
        ruleMap.clear();
        Iterator it = rules.iterator();
        while (it.hasNext())                   
        {
            Rule rule = (Rule)it.next();
            ruleMap.put(rule.getId(), rule);           
        }    
              
        tagMap.clear();       
        it = tags.iterator();
        while (it.hasNext())                   
        {
            Tag tag = (Tag)it.next();
            tagMap.put(tag.getId(), tag);
            Iterator attributes = tag.getAttributes().iterator();
            while (attributes.hasNext())
            {               
                Attribute attribute = (Attribute)attributes.next();               
                if (attribute instanceof AttributeImpl)
                {
                    String ruleId = ((AttributeImpl)attribute).getRuleId();                   
                    Rule rule = (Rule)ruleMap.get(ruleId);                   
                    if (rule != null)
                    {
                        attribute.setRule(rule);
                    }
                }                           
View Full Code Here

TOP

Related Classes of org.apache.jetspeed.rewriter.rules.Rule

Copyright © 2018 www.massapicom. 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.