com.google.caja.reporting
Interface MessagePart

All Known Subinterfaces:
Annotation, Expression, MutableParseTreeNode, ParseTreeNode, Statement
All Known Implementing Classes:
AbstractAnnotation, AbstractExpression, AbstractParseTreeNode, AbstractStatement, ArrayConstructor, AssignOperation, AttribKey, Block, BlockAnnotation, BooleanLiteral, BreakStmt, CajaRuntimeDebuggingRewriter.AddPositionParamRule, CajoledModule, CajoledModuleExpression, CaseStmt, CatchStmt, Comment, Conditional, ContinueStmt, ControlOperation, CssPropertySignature, CssPropertySignature.CallSignature, CssPropertySignature.ExclusiveSetSignature, CssPropertySignature.LiteralSignature, CssPropertySignature.ProgIdAttrSignature, CssPropertySignature.ProgIdSignature, CssPropertySignature.PropertyRefSignature, CssPropertySignature.QuotedLiteralSignature, CssPropertySignature.RepeatedSignature, CssPropertySignature.SeriesSignature, CssPropertySignature.SetSignature, CssPropertySignature.SymbolSignature, CssTree, CssTree.Attrib, CssTree.AttribOperation, CssTree.ClassLiteral, CssTree.Combination, 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.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.UnicodeRangeLiteral, CssTree.UriLiteral, CssTree.UserAgentHack, CssTree.WildcardElement, DebuggerStmt, Declaration, DefaultCaseStmt, Directive, DirectivePrologue, Dom, DoWhileLoop, Elision, ElKey, ExpressionStmt, FilePosition, FinallyStmt, ForEachLoop, ForLoop, FormalParam, FunctionConstructor, FunctionDeclaration, GetterProperty, Identifier, InlineAnnotation, InputSource, IntegerLiteral, Keyword, LabeledStatement, LabeledStmtWrapper, Literal, Loop, MessagePart.Factory.ArrayPart, MessagePart.Factory.MessagePartWrapper, MultiDeclaration, Name, NoChildren, Noop, NullLiteral, NumberLiteral, ObjectConstructor, ObjProperty, Operation, Parser.ActualList, ParseTreeNodeContainer, Punctuation, QuotedExpression, RealLiteral, Reference, RegexpLiteral, ReturnStmt, Rule, SetterProperty, SimpleOperation, SpecialOperation, StringLiteral, SwitchCase, SwitchStmt, TextAnnotation, ThrowStmt, TranslatedCode, TryStmt, UncajoledModule, Updoc, Updoc.Run, ValueProperty, WhileLoop, WithStmt

public interface MessagePart

A part that may substitute for a placeholder in an error or logging message.

Author:
mikesamuel@gmail.com

Nested Class Summary
static class MessagePart.Factory
           
 
Method Summary
 void format(MessageContext context, java.lang.Appendable out)
          Formats this part to out.
 

Method Detail

format

void format(MessageContext context,
            java.lang.Appendable out)
            throws java.io.IOException
Formats this part to out.

Parameters:
out - receives the formatted form of this.
Throws:
java.io.IOException


Copyright (C) 2008 Google Inc.
Licensed under the Apache License, Version 2.0