jaxx.compiler.tags
Class StyleHandler
java.lang.Object
jaxx.compiler.tags.StyleHandler
- All Implemented Interfaces:
- TagHandler
public class StyleHandler
- extends java.lang.Object
- implements TagHandler
Handles the <style> tag.
- Author:
- Ethan Nicholas
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SOURCE_ATTRIBUTE
public static final java.lang.String SOURCE_ATTRIBUTE
- See Also:
- Constant Field Values
StyleHandler
public StyleHandler()
compileFirstPass
public void compileFirstPass(org.w3c.dom.Element tag,
JAXXCompiler compiler)
throws CompilerException,
java.io.IOException
- Description copied from interface:
TagHandler
- Performs the first pass of compilation on an XML tag from a JAXX source file.
TagHandler implementations affect the generated .java
file by calling methods in the JAXXCompiler.
- Specified by:
compileFirstPass in interface TagHandler
- Parameters:
tag - the XML tag to compilecompiler - the active JAXXCompiler
- Throws:
CompilerException - if a compilation error occurs
java.io.IOException - if an I/O error occurs
compileSecondPass
public void compileSecondPass(org.w3c.dom.Element tag,
JAXXCompiler compiler)
throws CompilerException,
java.io.IOException
- Description copied from interface:
TagHandler
- Performs the second pass of compilation on an XML tag from a JAXX source file.
TagHandler implementations affect the generated .java
file by calling methods in the JAXXCompiler.
- Specified by:
compileSecondPass in interface TagHandler
- Parameters:
tag - the XML tag to compilecompiler - the active JAXXCompiler
- Throws:
CompilerException - if a compilation error occurs
java.io.IOException - if an I/O error occurs
processSelector
protected Selector processSelector(SimpleNode selector)
processRule
protected Rule processRule(SimpleNode ruleNode)
processStylesheet
protected Stylesheet processStylesheet(java.lang.String stylesheetText)
throws CompilerException
- Throws:
CompilerException
Copyright © 2008-2009 CodeLutin. All Rights Reserved.