net.sourceforge.pmd.jsp.rules
Class NoInlineStyleInformation

java.lang.Object
  extended by net.sourceforge.pmd.CommonAbstractRule
      extended by net.sourceforge.pmd.jsp.rules.AbstractJspRule
          extended by net.sourceforge.pmd.jsp.rules.NoInlineStyleInformation
All Implemented Interfaces:
JspParserVisitor, Rule

public class NoInlineStyleInformation
extends AbstractJspRule

This rule checks that no "style" elements (like , , ...) are used, and that no "style" attributes (like "font", "size", "align") are used.

Author:
pieter_van_raemdonck

Field Summary
 
Fields inherited from interface net.sourceforge.pmd.Rule
LOWEST_PRIORITY, PRIORITIES
 
Constructor Summary
NoInlineStyleInformation()
           
 
Method Summary
 java.lang.Object visit(ASTAttribute node, java.lang.Object data)
           
 java.lang.Object visit(ASTElement node, java.lang.Object data)
           
 
Methods inherited from class net.sourceforge.pmd.jsp.rules.AbstractJspRule
addViolation, addViolation, addViolation, addViolationWithMessage, apply, setUsesTypeResolution, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visitAll
 
Methods inherited from class net.sourceforge.pmd.CommonAbstractRule
addExample, addProperties, addProperty, addRuleChainVisit, asFixedMap, asFixedMap, end, equals, getBooleanProperties, getBooleanProperty, getBooleanProperty, getDescription, getDoubleProperties, getDoubleProperty, getDoubleProperty, getExample, getExamples, getExternalInfoUrl, getIntProperties, getIntProperty, getIntProperty, getMessage, getName, getPriority, getPriorityName, getProperties, getRuleChainVisits, getRuleClass, getRuleSetName, getSince, getStringProperties, getStringProperty, getStringProperty, getTypeProperties, getTypeProperty, hashCode, hasProperty, include, propertiesByName, propertyDescriptorFor, setDescription, setExternalInfoUrl, setInclude, setMessage, setName, setPriority, setProperties, setProperty, setRuleClass, setRuleSetName, setSince, setUsesDFA, start, usesDFA, usesRuleChain, usesTypeResolution
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoInlineStyleInformation

public NoInlineStyleInformation()
Method Detail

visit

public java.lang.Object visit(ASTAttribute node,
                              java.lang.Object data)
Specified by:
visit in interface JspParserVisitor
Overrides:
visit in class AbstractJspRule

visit

public java.lang.Object visit(ASTElement node,
                              java.lang.Object data)
Specified by:
visit in interface JspParserVisitor
Overrides:
visit in class AbstractJspRule


Copyright © 2002-2011 InfoEther. All Rights Reserved.