|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.jelly.TagSupport
org.apache.commons.jelly.tags.validate.VerifierTag
This tag creates a new Verifier of a schema as a variable so that it can be used by a <validate> tag.
Field Summary | |
private org.iso_relax.verifier.VerifierFactory |
factory
The factory used to create new schema verifier objects |
private java.io.File |
file
The file to load the schema from |
private java.lang.String |
systemId
The system ID to use when parsing the schema |
private java.lang.String |
uri
The URI to load the schema from |
private java.lang.String |
var
the variable name to export the Verifier as |
Fields inherited from class org.apache.commons.jelly.TagSupport |
body, context, hasTrimmed, parent, shouldTrim |
Constructor Summary | |
VerifierTag()
|
Method Summary | |
void |
doTag(org.apache.commons.jelly.XMLOutput output)
|
org.iso_relax.verifier.VerifierFactory |
getFactory()
|
void |
setFactory(org.iso_relax.verifier.VerifierFactory factory)
Sets the factory used to create new schema verifier objects. |
void |
setFile(java.io.File aFile)
Sets the File of the schema to parse. |
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, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBody |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.lang.String var
private java.lang.String uri
private java.io.File file
private java.lang.String systemId
private org.iso_relax.verifier.VerifierFactory factory
Constructor Detail |
public VerifierTag()
Method Detail |
public void doTag(org.apache.commons.jelly.XMLOutput output) throws org.apache.commons.jelly.MissingAttributeException, org.apache.commons.jelly.JellyTagException
org.apache.commons.jelly.MissingAttributeException
org.apache.commons.jelly.JellyTagException
public void setVar(java.lang.String var)
public void setUri(java.lang.String uri)
public void setFile(java.io.File aFile)
File
of the schema to parse. If no URI and no file is
specified then the body of this tag is used as the source of the schema
public void setSystemId(java.lang.String systemId)
public void setFactory(org.iso_relax.verifier.VerifierFactory factory)
public org.iso_relax.verifier.VerifierFactory getFactory() throws org.apache.commons.jelly.JellyTagException
org.apache.commons.jelly.JellyTagException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |