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, writeFlush
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comment
public void startCDATA() throws SAXException
startCDATA
in interface LexicalHandler
SAXException
LexicalHandler.startCDATA()
public void endCDATA() throws SAXException
endCDATA
in interface LexicalHandler
SAXException
LexicalHandler.endCDATA()
public void startDTD(String name, String publicId, String systemId) throws SAXException
startDTD
in interface LexicalHandler
SAXException
LexicalHandler.startDTD(java.lang.String, java.lang.String, java.lang.String)
public void endDTD() throws SAXException
endDTD
in interface LexicalHandler
SAXException
LexicalHandler.endDTD()
public void startEntity(String arg0) throws SAXException
startEntity
in interface LexicalHandler
SAXException
LexicalHandler.startEntity(java.lang.String)
public void endEntity(String arg0) throws SAXException
endEntity
in interface LexicalHandler
SAXException
LexicalHandler.endEntity(java.lang.String)
public void characters(char[] ch, int start, int length) throws SAXException
AbstractContentWriterHandler
characters
in interface ContentHandler
characters
in class AbstractContentWriterHandler
ch
- 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
AbstractContentWriterHandler
characters
in class AbstractContentWriterHandler
SAXException
AbstractContentWriterHandler.characters(java.lang.String)
Copyright © 2004-2013 X4O. All Rights Reserved.