Generic subtask for processing a user-supplied template, to generate an XML document.
getDtdURL
public URL getDtdURL()
Gets the DtdURL attribute of the XmlSubTask object.
getPublicId
public String getPublicId()
Gets the PublicId attribute of the XmlSubTask object.
getSchema
public String getSchema()
Gets the Schema attribute of the XmlSubTask object.
getSystemId
public String getSystemId()
Gets the SystemId attribute of the XmlSubTask object.
getUseIds
public boolean getUseIds()
Gets the UseIds attribute of the XmlSubTask object.
getXmlencoding
public String getXmlencoding()
Gets the Xmlencoding attribute of the XmlSubTask object.
isValidateXML
public boolean isValidateXML()
Gets the ValidateXML attribute of the XmlSubTask object.
setDtdURL
protected void setDtdURL(URL dtdURL)
Sets the DtdURL attribute of the XmlSubTask object.
dtdURL
- The new DtdURL value
setPublicId
protected void setPublicId(String publicId)
The PUBLIC ID of the DTD to which the generated document should conform.
publicId
- The new PublicId value
setSchema
public void setSchema(String schema)
The XML Schema to which the generated document should conform.
schema
- The new Schema value
setSystemId
protected void setSystemId(String systemId)
The SYSTEM ID of the DTD to which the generated document should conform.
systemId
- The new SystemId value
setUseIds
public void setUseIds(boolean useIds)
If this attribute is set to true, XDoclet will generate id attributes in the XML document. Note that this is only
available in some subtasks.
useIds
- The new UseIds value
setValidateXML
public void setValidateXML(boolean flag)
If this is set to true, the generated XML will be validated against its DTD or XML Schema.
flag
- The new Validatexml value
setXmlencoding
public void setXmlencoding(String xmlEncoding)
The encoding of the produced xml file. If your XML file uses international characters, you might want to set this
to "ISO-8859-1".
xmlEncoding
- The new Xmlencoding value