|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xml.sax.helpers.DefaultHandler
pt.tumba.parser.swf.SaxHandlerBase
pt.tumba.parser.swf.XMLWriter
public class XMLWriter
Write XML text to an output stream
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class pt.tumba.parser.swf.SaxHandlerBase |
|---|
SaxHandlerBase.ContentElementType, SaxHandlerBase.ElementType, SaxHandlerBase.GatheringElementType |
| Field Summary | |
|---|---|
protected java.io.Writer |
out
Description of the Field |
protected boolean |
started
Description of the Field |
| Fields inherited from class pt.tumba.parser.swf.SaxHandlerBase |
|---|
elementTypes, elems, elemType, gatherBuffer, gatheringElement, gatherMode |
| Constructor Summary | |
|---|---|
XMLWriter(java.io.OutputStream outstream)
Constructor for the XMLWriter object |
|
XMLWriter(java.io.PrintWriter writer)
Constructor for the XMLWriter object |
|
| Method Summary | |
|---|---|
void |
characters(char[] ch,
int start,
int length)
Description of the Method |
protected void |
completeElement()
Description of the Method |
void |
endDocument()
Description of the Method |
void |
endElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName)
Description of the Method |
static java.lang.String |
normalize(char[] chars,
int start,
int length)
Description of the Method |
void |
processingInstruction(java.lang.String target,
java.lang.String data)
Description of the Method |
void |
startDocument()
Description of the Method |
void |
startElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes atts)
Description of the Method |
| Methods inherited from class pt.tumba.parser.swf.SaxHandlerBase |
|---|
dispatchAllMatchingGatheredElements, dispatchGatheredElement, endGatherMode, getAttr, getAttrBool, getAttrDouble, getAttrInt, startGatherMode |
| Methods inherited from class org.xml.sax.helpers.DefaultHandler |
|---|
endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, resolveEntity, setDocumentLocator, skippedEntity, startPrefixMapping, unparsedEntityDecl, warning |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.io.Writer out
protected boolean started
| Constructor Detail |
|---|
public XMLWriter(java.io.OutputStream outstream)
outstream - Description of the Parameterpublic XMLWriter(java.io.PrintWriter writer)
writer - Description of the Parameter| Method Detail |
|---|
public void startDocument()
throws org.xml.sax.SAXException
startDocument in interface org.xml.sax.ContentHandlerstartDocument in class org.xml.sax.helpers.DefaultHandlerorg.xml.sax.SAXException - Description of the Exception
public void endDocument()
throws org.xml.sax.SAXException
endDocument in interface org.xml.sax.ContentHandlerendDocument in class org.xml.sax.helpers.DefaultHandlerorg.xml.sax.SAXException - Description of the Exception
protected void completeElement()
throws java.io.IOException
java.io.IOException - Description of the Exception
public static java.lang.String normalize(char[] chars,
int start,
int length)
chars - Description of the Parameterstart - Description of the Parameterlength - Description of the Parameter
public void startElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes atts)
throws org.xml.sax.SAXException
startElement in interface org.xml.sax.ContentHandlerstartElement in class SaxHandlerBasenamespaceURI - Description of the ParameterlocalName - Description of the ParameterqName - Description of the Parameteratts - Description of the Parameter
org.xml.sax.SAXException - Description of the Exception
public void endElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName)
throws org.xml.sax.SAXException
endElement in interface org.xml.sax.ContentHandlerendElement in class SaxHandlerBasenamespaceURI - Description of the ParameterlocalName - Description of the ParameterqName - Description of the Parameter
org.xml.sax.SAXException - Description of the Exception
public void characters(char[] ch,
int start,
int length)
throws org.xml.sax.SAXException
characters in interface org.xml.sax.ContentHandlercharacters in class SaxHandlerBasech - Description of the Parameterstart - Description of the Parameterlength - Description of the Parameter
org.xml.sax.SAXException - Description of the Exception
public void processingInstruction(java.lang.String target,
java.lang.String data)
throws org.xml.sax.SAXException
processingInstruction in interface org.xml.sax.ContentHandlerprocessingInstruction in class org.xml.sax.helpers.DefaultHandlertarget - Description of the Parameterdata - Description of the Parameter
org.xml.sax.SAXException - Description of the Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||