org.apache.commons.jelly.tags.validate
Class VerifierTag

java.lang.Object
  |
  +--org.apache.commons.jelly.TagSupport
        |
        +--org.apache.commons.jelly.tags.validate.VerifierTag
All Implemented Interfaces:
Tag

public class VerifierTag
extends TagSupport

This tag creates a new Verifier of a schema as a variable so that it can be used by a <validate> tag.

Version:
$Revision: 1.1 $
Author:
James Strachan

Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, parent, shouldTrim
 
Constructor Summary
VerifierTag()
           
 
Method Summary
 void doTag(XMLOutput output)
          Evaluates this tag after all the tags properties have been initialized.
 void setFactory(org.iso_relax.verifier.VerifierFactory factory)
          Sets the factory used to create new schema verifier objects.
 void setSystemId(java.lang.String systemId)
          Sets the system ID used when parsing the schema
 void setUri(java.lang.String uri)
          Sets the URI of the schema file to parse.
 void setVar(java.lang.String var)
          Sets the name of the variable that will be set to the new Verifier
 
Methods inherited from class org.apache.commons.jelly.TagSupport
findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getContext, getParent, invokeBody, isTrim, setBody, setContext, setParent, setTrim, trimBody
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VerifierTag

public VerifierTag()
Method Detail

doTag

public void doTag(XMLOutput output)
           throws java.lang.Exception
Description copied from interface: Tag
Evaluates this tag after all the tags properties have been initialized.

setVar

public void setVar(java.lang.String var)
Sets the name of the variable that will be set to the new Verifier

setUri

public void setUri(java.lang.String uri)
Sets the URI of the schema file to parse. If no URI is specified then the body of this tag is used as the source of the schema

setSystemId

public void setSystemId(java.lang.String systemId)
Sets the system ID used when parsing the schema

setFactory

public void setFactory(org.iso_relax.verifier.VerifierFactory factory)
Sets the factory used to create new schema verifier objects. If none is provided then the default MSV factory is used.


Copyright © 2002-2002 Apache Software Foundation. All Rights Reserved.