com.google.caja.parser.css
Class CssTree.Declaration
java.lang.Object
com.google.caja.parser.AbstractParseTreeNode
com.google.caja.parser.css.CssTree
com.google.caja.parser.css.CssTree.PageElement
com.google.caja.parser.css.CssTree.Declaration
- All Implemented Interfaces:
- MutableParseTreeNode, ParseTreeNode, MessagePart, Renderable, java.lang.Cloneable
- Direct Known Subclasses:
- CssTree.EmptyDeclaration, CssTree.PropertyDeclaration, CssTree.UserAgentHack
- Enclosing class:
- CssTree
public abstract static class CssTree.Declaration
- extends CssTree.PageElement
A CSS property name, style value pair.
declaration
: property-declaration
| empty-declaration
| user-agent-hack
The term "declaration" is used in the CSS2 spec to describe both
CssTree.PropertyDeclaration
and CssTree.EmptyDeclaration
. Neither
of those terms appear in the spec, and the user-agent-hack
has no analog in the spec since it models a browser hack.
Nested classes/interfaces inherited from class com.google.caja.parser.css.CssTree |
CssTree.Attrib, CssTree.AttribOperation, CssTree.AttribOperator, CssTree.ClassLiteral, CssTree.Combination, CssTree.Combinator, CssTree.CssExprAtom, CssTree.CssLiteral, CssTree.CssStatement, CssTree.Declaration, CssTree.DeclarationGroup, CssTree.EmptyDeclaration, CssTree.Expr, CssTree.FontFace, CssTree.FunctionCall, CssTree.HashLiteral, CssTree.IdentLiteral, CssTree.IdLiteral, CssTree.Import, CssTree.Media, CssTree.Medium, CssTree.Operation, CssTree.Operator, CssTree.Page, CssTree.PageElement, CssTree.Prio, CssTree.ProgId, CssTree.ProgIdAttribute, CssTree.Property, CssTree.PropertyDeclaration, CssTree.Pseudo, CssTree.PseudoPage, CssTree.QuantityLiteral, CssTree.RuleSet, CssTree.Selector, CssTree.SimpleSelector, CssTree.StringLiteral, CssTree.StyleSheet, CssTree.Substitution, CssTree.Term, CssTree.UnaryOperator, CssTree.UnicodeRangeLiteral, CssTree.UriLiteral, CssTree.UserAgent, CssTree.UserAgentHack, CssTree.WildcardElement |
Methods inherited from class com.google.caja.parser.AbstractParseTreeNode |
acceptPostOrder, acceptPreOrder, appendChild, childrenAs, childrenChanged, childrenPart, clone, createMutation, equals, format, formatSelf, formatTree, formatTree, getAttributes, getComments, getFilePosition, hashCode, insertBefore, removeChild, replaceChild, setComments, setFilePosition, toStringDeep, toStringDeep |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
CssTree.Declaration
CssTree.Declaration(FilePosition pos,
java.util.List<? extends CssTree> children)
CssTree.Declaration
CssTree.Declaration(FilePosition pos,
java.lang.Class<T> childType,
java.util.List<? extends T> children)
Copyright (C) 2008 Google Inc.
Licensed under the Apache License, Version 2.0