All Packages Class Hierarchy This Package Previous Next Index
Class oracle.xml.classgen.CGDocument
java.lang.Object
|
+----oracle.xml.classgen.CGNode
|
+----oracle.xml.classgen.CGDocument
- public abstract class CGDocument
- extends CGNode
Serves as the base document class for the DTD compiler generated classes
-
CGDocument(String,
DTD)
- Constructor for the Root element of the DTD
-
print(OutputStream)
- Prints the constructed XML Document
-
print(OutputStream,
String)
- Prints the constructed XML Document
CGDocument
protected CGDocument(String doctype,
DTD dtd)
- Constructor for the Root element of the DTD
- Parameters:
- doctype - Name of the root Element of the DTD
- dtd - The DTD used to generate the classes
print
protected void print(OutputStream out) throws InvalidContentException
- Prints the constructed XML Document
- Parameters:
- out - Output stream to which the document will be printed
- Throws: InvalidContentException
- Throw exception if the document's
content do not match the grammer specified by DTD (The
validation mode should be set to TRUE)
- See Also:
- setValidationMode
print
protected void print(OutputStream out,
String enc) throws InvalidContentException
- Prints the constructed XML Document
- Parameters:
- out - Output stream to which the document will be printed
- enc - Encoding of the output stream
- Throws: InvalidContentException
- Throw exception if the document's
content do not match the grammer specified by DTD (The
validation mode should be set to TRUE)
- See Also:
- setValidationMode
All Packages Class Hierarchy This Package Previous Next Index