public abstract class AbstractContentWriterLexical extends AbstractContentWriterHandler implements LexicalHandler
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
printCDATA |
EMPTY_ATTRIBUTES, encoding| Constructor and Description |
|---|
AbstractContentWriterLexical(Writer out,
String encoding,
String charNewLine,
String charTab)
Creates XmlWriter which prints to the Writer interface.
|
| Modifier and Type | Method and Description |
|---|---|
void |
characters(char[] ch,
int start,
int length)
Prints xml characters and uses characters(java.lang.String) method.
|
void |
characters(String text)
Escape and prints xml characters.
|
void |
endCDATA() |
void |
endDTD() |
void |
endEntity(String arg0) |
void |
startCDATA() |
void |
startDTD(String name,
String publicId,
String systemId) |
void |
startEntity(String arg0) |
autoCloseStartElement, characters, charactersRaw, closeWriter, closeWriterSafe, comment, comment, endDocument, endElement, endPrefixMapping, ignorableWhitespace, ignorableWhitespace, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startElementNamespace, startElementNamespaceAll, startElementTag, startPrefixMapping, writeFlushclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcommentpublic void startCDATA()
throws SAXException
startCDATA in interface LexicalHandlerSAXExceptionLexicalHandler.startCDATA()public void endCDATA()
throws SAXException
endCDATA in interface LexicalHandlerSAXExceptionLexicalHandler.endCDATA()public void startDTD(String name, String publicId, String systemId) throws SAXException
startDTD in interface LexicalHandlerSAXExceptionLexicalHandler.startDTD(java.lang.String, java.lang.String, java.lang.String)public void endDTD()
throws SAXException
endDTD in interface LexicalHandlerSAXExceptionLexicalHandler.endDTD()public void startEntity(String arg0) throws SAXException
startEntity in interface LexicalHandlerSAXExceptionLexicalHandler.startEntity(java.lang.String)public void endEntity(String arg0) throws SAXException
endEntity in interface LexicalHandlerSAXExceptionLexicalHandler.endEntity(java.lang.String)public void characters(char[] ch,
int start,
int length)
throws SAXException
AbstractContentWriterHandlercharacters in interface ContentHandlercharacters in class AbstractContentWriterHandlerch - Character buffer.start - The start index of the chars in the ch buffer.length - The length index of the chars in the ch buffer.SAXException - When IOException has happend while printing.AbstractContentWriterHandler.characters(char[], int, int)public void characters(String text) throws SAXException
AbstractContentWriterHandlercharacters in class AbstractContentWriterHandlerSAXExceptionAbstractContentWriterHandler.characters(java.lang.String)Copyright © 2004-2013 X4O. All Rights Reserved.