Package jaxx.compiler.tags.validator
Class FieldValidatorHandler
java.lang.Object
jaxx.compiler.tags.validator.FieldValidatorHandler
- All Implemented Interfaces:
TagHandler
public class FieldValidatorHandler extends java.lang.Object implements TagHandler
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCOMPONENT_ATTRIBUTEstatic java.lang.StringNAME_ATTRIBUTEstatic java.lang.StringTAGFields inherited from interface jaxx.compiler.tags.TagHandler
XMLNS_ATTRIBUTE -
Constructor Summary
Constructors Constructor Description FieldValidatorHandler() -
Method Summary
Modifier and Type Method Description voidcompileFirstPass(org.w3c.dom.Element tag, JAXXCompiler compiler)Performs the first pass of compilation on an XML tag from a JAXX source file.voidcompileSecondPass(org.w3c.dom.Element tag, JAXXCompiler compiler)Performs the second pass of compilation on an XML tag from a JAXX source file.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
TAG
public static final java.lang.String TAG- See Also:
- Constant Field Values
-
NAME_ATTRIBUTE
public static final java.lang.String NAME_ATTRIBUTE- See Also:
- Constant Field Values
-
COMPONENT_ATTRIBUTE
public static final java.lang.String COMPONENT_ATTRIBUTE- See Also:
- Constant Field Values
-
-
Constructor Details
-
FieldValidatorHandler
public FieldValidatorHandler()
-
-
Method Details
-
compileFirstPass
public void compileFirstPass(org.w3c.dom.Element tag, JAXXCompiler compiler) throws CompilerException, java.io.IOExceptionDescription copied from interface:TagHandlerPerforms the first pass of compilation on an XML tag from a JAXX source file.TagHandlerimplementations affect the generated.javafile by calling methods in theJAXXCompiler.- Specified by:
compileFirstPassin interfaceTagHandler- Parameters:
tag- the XML tag to compilecompiler- the active JAXXCompiler- Throws:
CompilerException- if a compilation error occursjava.io.IOException- if an I/O error occurs
-
compileSecondPass
public void compileSecondPass(org.w3c.dom.Element tag, JAXXCompiler compiler) throws CompilerException, java.io.IOExceptionDescription copied from interface:TagHandlerPerforms the second pass of compilation on an XML tag from a JAXX source file.TagHandlerimplementations affect the generated.javafile by calling methods in theJAXXCompiler.- Specified by:
compileSecondPassin interfaceTagHandler- Parameters:
tag- the XML tag to compilecompiler- the active JAXXCompiler- Throws:
CompilerException- if a compilation error occursjava.io.IOException- if an I/O error occurs
-