| java.lang.Object net.sf.saxon.event.Emitter net.sf.saxon.event.XMLEmitter net.sf.saxon.event.HTMLEmitter
HTMLEmitter | public class HTMLEmitter extends XMLEmitter (Code) | | This class generates HTML output
author: Michael H. Kay |
Method Summary | |
public void | characters(CharSequence chars, int locationId, int properties) Character data. | public void | endElement() Output an element end tag. | protected static boolean | isEmptyTag(String tag) | public void | open() | protected void | openDocument() | public void | processingInstruction(String target, CharSequence data, int locationId, int properties) Handle a processing instruction. | public void | startContent() | public void | startElement(int nameCode, int typeCode, int locationId, int properties) | protected void | writeAttribute(int elCode, String attname, CharSequence value, int properties) Write attribute name=value pair. | protected void | writeEscape(CharSequence chars, boolean inAttribute) Escape characters. |
HTMLEmitter | public HTMLEmitter()(Code) | | Constructor
|
isEmptyTag | protected static boolean isEmptyTag(String tag)(Code) | | |
startElement | public void startElement(int nameCode, int typeCode, int locationId, int properties) throws XPathException(Code) | | Output element start tag
|
writeAttribute | protected void writeAttribute(int elCode, String attname, CharSequence value, int properties) throws XPathException(Code) | | Write attribute name=value pair. Overrides the XML behaviour if the name and value
are the same (we assume this is a boolean attribute to be minimised), or if the value is
a URL.
|
Methods inherited from net.sf.saxon.event.XMLEmitter | public void attribute(int nameCode, int typeCode, CharSequence value, int locationId, int properties) throws XPathException(Code)(Java Doc) public void characters(CharSequence chars, int locationId, int properties) throws XPathException(Code)(Java Doc) public void close() throws XPathException(Code)(Java Doc) public void closeStartTag() throws XPathException(Code)(Java Doc) public void comment(CharSequence chars, int locationId, int properties) throws XPathException(Code)(Java Doc) protected String emptyElementTagCloser(String displayName, int nameCode)(Code)(Java Doc) public void endDocument() throws XPathException(Code)(Java Doc) public void endElement() throws XPathException(Code)(Java Doc) public static void main(String[] params) throws Exception(Code)(Java Doc) public void namespace(int namespaceCode, int properties) throws XPathException(Code)(Java Doc) public void open() throws XPathException(Code)(Java Doc) protected void openDocument() throws XPathException(Code)(Java Doc) protected void outputCharacterReference(int charval) throws java.io.IOException(Code)(Java Doc) public void processingInstruction(String target, CharSequence data, int locationId, int properties) throws XPathException(Code)(Java Doc) public void startContent() throws XPathException(Code)(Java Doc) public void startDocument(int properties) throws XPathException(Code)(Java Doc) public void startElement(int nameCode, int typeCode, int locationId, int properties) throws XPathException(Code)(Java Doc) protected int testCharacters(CharSequence chars) throws XPathException(Code)(Java Doc) protected void writeAttribute(int elCode, String attname, CharSequence value, int properties) throws XPathException(Code)(Java Doc) public void writeCharSequence(CharSequence s) throws java.io.IOException(Code)(Java Doc) public void writeDeclaration() throws XPathException(Code)(Java Doc) protected void writeDocType(String type, String systemId, String publicId) throws XPathException(Code)(Java Doc) protected void writeEscape(CharSequence chars, boolean inAttribute) throws java.io.IOException, XPathException(Code)(Java Doc)
|
|
|