|
xnsdoc 1.2.1 Java API |
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.xnsdoc.BaseProcessor
com.xnsdoc.Processor
The xnsdoc processor.
| Nested Class Summary | |
class |
Processor.MediatorSchema
Collector for multiple schema file. |
| Field Summary | |
static java.lang.String |
VERSION
version info. |
| Fields inherited from class com.xnsdoc.BaseProcessor |
NAMESPACE_NAMESPACE, RESOURCE_PROTOCOL, SCHEMA_NS, XMLNS_XS, XMLSCHEMA_NAMESPACE |
| Constructor Summary | |
Processor()
Default constructor. |
|
| Method Summary | |
void |
addSchema(java.lang.String schemaLocation)
Adds a schema defined by a file name to a mediator schema. |
void |
execute()
Execution of the processor. |
java.lang.String |
run()
Executes the processor and returns a string with all messages and exceptions that are normally sent to System.out. |
void |
setBottom(java.lang.String theBottom)
Setter method for bottom property. |
void |
setCreateFolder(boolean theCreateFolder)
Setter method for createFolder property. |
void |
setCss(java.lang.String theCss)
Setter method for CSS property. |
void |
setDatatypes(boolean b)
Setter method for datatypes property. |
void |
setDoctitle(java.lang.String theDoctitle)
Setter method for title property. |
void |
setFooter(java.lang.String theFooter)
Setter method for footer property. |
void |
setHeader(java.lang.String theHeader)
Setter method for header property. |
void |
setHideAttributes(boolean theHideAttributes)
Setter method for hideAttributes property. |
void |
setHideGroups(boolean theHideGroups)
Setter method for hideGroups property. |
void |
setHideNotations(boolean theHideNotations)
Setter method for hideNotations property. |
void |
setHideTypes(boolean theHideTypes)
Setter method for hideTypes property. |
void |
setLaunch(boolean theLaunch)
Setter method for launch property. |
void |
setLicense(java.lang.String theLicense)
Setter method for license property. |
void |
setMainSchema(org.w3c.dom.Document document)
Setter method for mainSchema property. |
void |
setMaxIdLength(int theMaxIdLength)
Setter method for the maxIfLength propety. |
void |
setOut(java.lang.String theOut)
Setter method for out property. |
void |
setProxyHost(java.lang.String theProxyHost)
Setter method for proxyHost property. |
void |
setProxyPort(java.lang.String theProxyPort)
Setter method for proxyPort property. |
void |
setSchemaLocation(java.lang.String theSchemaLocation)
Setter method for schemaLocation property. |
void |
setXml(boolean theXml)
Setter method for xml property. |
| Methods inherited from class com.xnsdoc.BaseProcessor |
getListener, isDebug, isVerbose, setDebug, setListener, setVerbose |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String VERSION
| Constructor Detail |
public Processor()
| Method Detail |
public void addSchema(java.lang.String schemaLocation)
schemaLocation - the schema to add
public void execute()
throws ProcessorException
ProcessorException - if error occured during executionpublic java.lang.String run()
This method can be used in batch processing to reuse an instance of this class for multiple operations.
public void setBottom(java.lang.String theBottom)
theBottom - the bottom to usepublic void setCreateFolder(boolean theCreateFolder)
theCreateFolder - if output folder should be createdpublic void setCss(java.lang.String theCss)
theCss - output external CSS file to usepublic void setDatatypes(boolean b)
b - if XMLSchema datatypes should be includedpublic void setDoctitle(java.lang.String theDoctitle)
header or
footer if the header
or footerproperty is empty.
theDoctitle - schema title to usepublic void setFooter(java.lang.String theFooter)
doctitle property is used.
theFooter - the footer to usepublic void setHeader(java.lang.String theHeader)
theHeader - the header to usepublic void setHideAttributes(boolean theHideAttributes)
theHideAttributes - if attributes should be hidden or notpublic void setHideGroups(boolean theHideGroups)
theHideGroups - if groups should be hidden or notpublic void setHideNotations(boolean theHideNotations)
theHideNotations - if types should be hidden or notpublic void setHideTypes(boolean theHideTypes)
theHideTypes - if types should be hidden or notpublic void setLaunch(boolean theLaunch)
theLaunch - if generated documentation should be launched after creationpublic void setLicense(java.lang.String theLicense)
theLicense - location of license filepublic void setMainSchema(org.w3c.dom.Document document)
document - DOM of main schemapublic void setMaxIdLength(int theMaxIdLength)
The maxIdLength property defines the maximum length of id strings. Depending on the file system or later processing, a specific maximum length can ensure proper post-processing.
theMaxIdLength - The maxIdLength to set.public void setOut(java.lang.String theOut)
theOut - output folder to usepublic void setProxyHost(java.lang.String theProxyHost)
theProxyHost - The proxyHost to set.public void setProxyPort(java.lang.String theProxyPort)
theProxyPort - The proxyPort to set.public void setSchemaLocation(java.lang.String theSchemaLocation)
theSchemaLocation - location of XML schema to usepublic void setXml(boolean theXml)
theXml - if xml should be created or HTML
|
xnsdoc 1.2.1 Java API |
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||