org.eclipse.mylyn.internal.wikitext.core.util.css
Class CssRule

java.lang.Object
  extended by org.eclipse.mylyn.internal.wikitext.core.util.css.CssRule

public class CssRule
extends Object

A rule (name and value) as defined by CSS

Author:
David Green

Field Summary
 int length
          the length of the rule declaration
 String name
          the name of the rule
 int nameOffset
          the offset of the name of the rule
 int offset
          the offset at which the rule was declared
 String value
          the value of the rule
 int valueOffset
          the offset of the value of the rule
 
Constructor Summary
CssRule(String name, String value, int offset, int length, int nameOffset, int valueOffset)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

public final String name
the name of the rule


value

public final String value
the value of the rule


offset

public final int offset
the offset at which the rule was declared


length

public final int length
the length of the rule declaration


nameOffset

public final int nameOffset
the offset of the name of the rule


valueOffset

public final int valueOffset
the offset of the value of the rule

Constructor Detail

CssRule

public CssRule(String name,
               String value,
               int offset,
               int length,
               int nameOffset,
               int valueOffset)


Copyright © 2011 FuseSource, Corp.. All Rights Reserved.