All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.jclark.xml.apps.Doctype

java.lang.Object
   |
   +----com.jclark.xml.parse.io.ApplicationImpl
           |
           +----com.jclark.xml.apps.Doctype

public class Doctype
extends ApplicationImpl

Constructor Index

 o Doctype(PrintWriter)

Method Index

 o comment(CommentEvent)
 o endDocumentTypeDeclaration(EndDocumentTypeDeclarationEvent)
 o endEntityReference(EndEntityReferenceEvent)
 o main(String[])
Writes an equivalent version of the doctype declaration on the standard output.
 o markupDeclaration(MarkupDeclarationEvent)
 o processingInstruction(ProcessingInstructionEvent)
 o startDocumentTypeDeclaration(StartDocumentTypeDeclarationEvent)
 o startEntityReference(StartEntityReferenceEvent)
 o writeAttributeDef(DTD, String, String)
 o writeElementDecl(DTD, String)
 o writeEntityDecl(DTD, byte, String)

Constructors

 o Doctype
 public Doctype(PrintWriter w)

Methods

 o main
 public static void main(String args[]) throws IOException
Writes an equivalent version of the doctype declaration on the standard output. If an argument is specified, then that is treated as the filename of the XML document, otherwise the XML document is read from the standard input.

 o startDocumentTypeDeclaration
 public void startDocumentTypeDeclaration(StartDocumentTypeDeclarationEvent event)
Overrides:
startDocumentTypeDeclaration in class ApplicationImpl
 o endDocumentTypeDeclaration
 public void endDocumentTypeDeclaration(EndDocumentTypeDeclarationEvent event)
Overrides:
endDocumentTypeDeclaration in class ApplicationImpl
 o startEntityReference
 public void startEntityReference(StartEntityReferenceEvent event)
Overrides:
startEntityReference in class ApplicationImpl
 o endEntityReference
 public void endEntityReference(EndEntityReferenceEvent event)
Overrides:
endEntityReference in class ApplicationImpl
 o processingInstruction
 public void processingInstruction(ProcessingInstructionEvent event)
Overrides:
processingInstruction in class ApplicationImpl
 o comment
 public void comment(CommentEvent event)
Overrides:
comment in class ApplicationImpl
 o markupDeclaration
 public void markupDeclaration(MarkupDeclarationEvent event)
Overrides:
markupDeclaration in class ApplicationImpl
 o writeEntityDecl
 public void writeEntityDecl(DTD dtd,
                             byte type,
                             String name)
 o writeElementDecl
 public void writeElementDecl(DTD dtd,
                              String name)
 o writeAttributeDef
 public void writeAttributeDef(DTD dtd,
                               String name,
                               String attName)

All Packages  Class Hierarchy  This Package  Previous  Next  Index