|
||||||||||
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.xpath.XPathTagSupport
org.apache.commons.jelly.tags.xml.DoctypeTag
public class DoctypeTag
A tag which outputs a DOCTYPE declaration to the current XML output pipe. Note that there should only be a single DOCTYPE declaration in any XML stream and it should occur before any element content.
Field Summary |
---|
Fields inherited from class org.apache.commons.jelly.TagSupport |
---|
body, context, parent |
Constructor Summary | |
---|---|
DoctypeTag()
|
Method Summary | |
---|---|
void |
doTag(XMLOutput output)
Evaluates this tag after all the tags properties have been initialized. |
java.lang.String |
getName()
Returns the name. |
java.lang.String |
getPublicId()
Returns the publicId. |
java.lang.String |
getSystemId()
Returns the systemId. |
void |
setName(java.lang.String name)
Sets the document type name of the DOCTYPE |
void |
setPublicId(java.lang.String publicId)
Sets the declared public identifier for DTD |
void |
setSystemId(java.lang.String systemId)
Sets the declared system identifier for the DTD |
Methods inherited from class org.apache.commons.jelly.xpath.XPathTagSupport |
---|
getXPathContext |
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 |
Constructor Detail |
---|
public DoctypeTag()
Method Detail |
---|
public void doTag(XMLOutput output) throws MissingAttributeException, JellyTagException
Tag
MissingAttributeException
JellyTagException
public java.lang.String getName()
public java.lang.String getPublicId()
public java.lang.String getSystemId()
public void setName(java.lang.String name)
public void setPublicId(java.lang.String publicId)
public void setSystemId(java.lang.String systemId)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |