|
EchoPoint 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object echopoint.ui.template.taghandlers.AbstractTagHandler echopoint.ui.template.taghandlers.RangeTagHandler echopoint.ui.template.taghandlers.StyleSheetTagHandler
The StyleSheetTagHandler tag handler looks for <stylesheet> tags and saves the contents so that it can be applied later to template components.
Constructor Summary | |
StyleSheetTagHandler()
|
Method Summary | |
void |
executeTag(ParseContext context,
PositionReader input,
boolean parseTime)
Looks for a Component associated with the name attribute, finds its Component Peer and then renders it into the template output. |
SGMLTag |
parseTag(CompilationContext context,
PositionReader input,
long startPosition,
SGMLTag startTag)
Parse tag. |
void |
postParsePreProperties(CompilationContext context)
This method is called after the tag has been compiled but BEFORE any tag properties have been processed. |
Methods inherited from class echopoint.ui.template.taghandlers.AbstractTagHandler |
getEndPos, getLineNumber, getNameProperty, getProperties, getStartPos, getTagLength, getTagStart, isTagClosedProperly, postParsePostProperties, reportClosingTagError, reportError, reportNoComponentPeerError, setEndPos, setLineNumber, setName, setNameProperty, setProperties, setStartPos, setTagClosedProperly, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public StyleSheetTagHandler()
Method Detail |
public void executeTag(ParseContext context, PositionReader input, boolean parseTime) throws java.lang.Exception
AbstractTagHandler
executeTag
in interface TagHandler
executeTag
in class RangeTagHandler
java.lang.Exception
TagHandler.executeTag(echopoint.ui.template.ParseContext, echopoint.ui.template.PositionReader, boolean)
public void postParsePreProperties(CompilationContext context)
TagHandler
postParsePreProperties
in interface TagHandler
postParsePreProperties
in class AbstractTagHandler
TagHandler.postParsePreProperties(CompilationContext)
public SGMLTag parseTag(CompilationContext context, PositionReader input, long startPosition, SGMLTag startTag) throws java.io.IOException
TagHandler
parseTag()
method is called before
any processing is done. Its purpose is to parse the area
this tag spans and probably read in parameters used at
execution time.
This method returns the last tag belonging to the area handled by this handler
.
For simple one-tag Handlers this is simply the tag passed
to this method. If the Handler decides not to handle this tag, this
method should return null
.
parseTag
in interface TagHandler
parseTag
in class RangeTagHandler
java.io.IOException
TagHandler.parseTag(echopoint.template.CompilationContext, echopoint.ui.template.PositionReader, long, echopoint.ui.template.SGMLTag)
|
EchoPoint 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |