FileDocCategorySizeDatePackage
EmptySerializer.javaAPI DocJava SE 6 API19789Tue Jun 10 00:23:06 BST 2008com.sun.org.apache.xml.internal.serializer

EmptySerializer

public class EmptySerializer extends Object implements SerializationHandler
This class is an adapter class. Its only purpose is to be extended and for that extended class to over-ride all methods that are to be used. This class is not a public API, it is only public because it is used across package boundaries.
xsl.usage
internal

Fields Summary
protected static final String
ERR
Constructors Summary
Methods Summary
voidaMethodIsCalled()


        // throw new RuntimeException(err);
        return;
    
public voidaddAttribute(java.lang.String uri, java.lang.String localName, java.lang.String rawName, java.lang.String type, java.lang.String value, boolean XSLAttribute)

see
ExtendedContentHandler#addAttribute(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)

        couldThrowSAXException();
    
public voidaddAttribute(java.lang.String name, java.lang.String value)

see
ExtendedContentHandler#addAttribute(java.lang.String, java.lang.String)

        aMethodIsCalled();
    
public voidaddAttribute(java.lang.String uri, java.lang.String localName, java.lang.String rawName, java.lang.String type, java.lang.String value)

see
ExtendedContentHandler#addAttribute(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)

        couldThrowSAXException();        
    
public voidaddAttributes(org.xml.sax.Attributes atts)

see
ExtendedContentHandler#addAttributes(org.xml.sax.Attributes)

        couldThrowSAXException();
    
public voidaddUniqueAttribute(java.lang.String name, java.lang.String value, int flags)

see
ExtendedContentHandler#addUniqueAttribute(java.lang.String, java.lang.String, int)

        couldThrowSAXException();
    
public voidaddXSLAttribute(java.lang.String qName, java.lang.String value, java.lang.String uri)

see
ExtendedContentHandler#addXSLAttribute(java.lang.String, java.lang.String, java.lang.String)

        aMethodIsCalled();        
    
public org.xml.sax.ContentHandlerasContentHandler()

see
SerializationHandler#asContentHandler()

        couldThrowIOException();
        return null;
    
public com.sun.org.apache.xml.internal.serializer.DOMSerializerasDOMSerializer()

see
Serializer#asDOMSerializer()

        couldThrowIOException();
        return null;
    
public voidattributeDecl(java.lang.String arg0, java.lang.String arg1, java.lang.String arg2, java.lang.String arg3, java.lang.String arg4)

see
org.xml.sax.ext.DeclHandler#attributeDecl(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)

        couldThrowSAXException();
    
public voidcharacters(java.lang.String chars)

see
ExtendedContentHandler#characters(java.lang.String)

        couldThrowSAXException();
    
public voidcharacters(char[] arg0, int arg1, int arg2)

see
org.xml.sax.ContentHandler#characters(char[], int, int)

        couldThrowSAXException(arg0, arg1, arg2);
    
public voidcharacters(org.w3c.dom.Node node)

see
ExtendedContentHandler#characters(org.w3c.dom.Node)

        couldThrowSAXException();        
    
public voidclose()

see
SerializationHandler#close()

        aMethodIsCalled();
    
public voidcomment(java.lang.String comment)

see
ExtendedLexicalHandler#comment(java.lang.String)

        couldThrowSAXException();
    
public voidcomment(char[] arg0, int arg1, int arg2)

see
org.xml.sax.ext.LexicalHandler#comment(char[], int, int)

        couldThrowSAXException();
    
protected voidcouldThrowException()

        return; // don't do anything.
    
protected voidcouldThrowIOException()

see
SerializationHandler#asContentHandler()

           
    
        
    
        return; // don't do anything.
    
protected voidcouldThrowSAXException()

        return; // don't do anything.
    
protected voidcouldThrowSAXException(char[] chars, int off, int len)

        return; // don't do anything.
    
protected voidcouldThrowSAXException(java.lang.String elemQName)

        return; // don't do anything.
    
public voidelementDecl(java.lang.String arg0, java.lang.String arg1)

see
org.xml.sax.ext.DeclHandler#elementDecl(java.lang.String, java.lang.String)

        couldThrowSAXException();
    
public voidendCDATA()

see
org.xml.sax.ext.LexicalHandler#endCDATA()

        couldThrowSAXException();
    
public voidendDTD()

see
org.xml.sax.ext.LexicalHandler#endDTD()

        couldThrowSAXException();
    
public voidendDocument()

see
org.xml.sax.ContentHandler#endDocument()

        couldThrowSAXException();
    
public voidendElement(java.lang.String elemName)

see
ExtendedContentHandler#endElement(java.lang.String)

        couldThrowSAXException();
    
public voidendElement(java.lang.String arg0, java.lang.String arg1, java.lang.String arg2)

see
org.xml.sax.ContentHandler#endElement(java.lang.String, java.lang.String, java.lang.String)

        couldThrowSAXException();
    
public voidendEntity(java.lang.String arg0)

see
org.xml.sax.ext.LexicalHandler#endEntity(java.lang.String)

        couldThrowSAXException();
    
public voidendPrefixMapping(java.lang.String arg0)

see
org.xml.sax.ContentHandler#endPrefixMapping(java.lang.String)

        couldThrowSAXException();
    
public voidentityReference(java.lang.String entityName)

see
ExtendedContentHandler#entityReference(java.lang.String)

        couldThrowSAXException();
    
public voiderror(org.xml.sax.SAXParseException arg0)

see
org.xml.sax.ErrorHandler#error(org.xml.sax.SAXParseException)

        couldThrowSAXException();
    
public voidexternalEntityDecl(java.lang.String arg0, java.lang.String arg1, java.lang.String arg2)

see
org.xml.sax.ext.DeclHandler#externalEntityDecl(java.lang.String, java.lang.String, java.lang.String)

        couldThrowSAXException();
    
public voidfatalError(org.xml.sax.SAXParseException arg0)

see
org.xml.sax.ErrorHandler#fatalError(org.xml.sax.SAXParseException)

        couldThrowSAXException();
    
public voidflushPending()

see
SerializationHandler#flushPending()

        couldThrowSAXException();
    
public java.lang.StringgetDoctypePublic()

see
XSLOutputAttributes#getDoctypePublic()

        aMethodIsCalled();
        return null;
    
public java.lang.StringgetDoctypeSystem()

see
XSLOutputAttributes#getDoctypeSystem()

        aMethodIsCalled();
        return null;
    
public java.lang.StringgetEncoding()

see
XSLOutputAttributes#getEncoding()

        aMethodIsCalled();
        return null;
    
public booleangetIndent()

see
XSLOutputAttributes#getIndent()

        aMethodIsCalled();
        return false;
    
public intgetIndentAmount()

see
XSLOutputAttributes#getIndentAmount()

        aMethodIsCalled();
        return 0;
    
public java.lang.StringgetMediaType()

see
XSLOutputAttributes#getMediaType()

        aMethodIsCalled();
        return null;
    
public com.sun.org.apache.xml.internal.serializer.NamespaceMappingsgetNamespaceMappings()

see
ExtendedContentHandler#getNamespaceMappings()

        aMethodIsCalled();
        return null;
    
public java.lang.StringgetNamespaceURI(java.lang.String name, boolean isElement)

see
ExtendedContentHandler#getNamespaceURI(java.lang.String, boolean)

        aMethodIsCalled();
        return null;
    
public java.lang.StringgetNamespaceURIFromPrefix(java.lang.String prefix)

see
ExtendedContentHandler#getNamespaceURIFromPrefix(java.lang.String)

        aMethodIsCalled();
        return null;
    
public booleangetOmitXMLDeclaration()

see
XSLOutputAttributes#getOmitXMLDeclaration()

        aMethodIsCalled();
        return false;
    
public java.util.PropertiesgetOutputFormat()

see
SerializationHandler#getOutputFormat()

        aMethodIsCalled();
        return null;
    
public java.io.OutputStreamgetOutputStream()

see
SerializationHandler#getOutputStream()

        aMethodIsCalled();
        return null;
    
public java.lang.StringgetPrefix(java.lang.String uri)

see
ExtendedContentHandler#getPrefix(java.lang.String)

        aMethodIsCalled();
        return null;
    
public java.lang.StringgetStandalone()

see
XSLOutputAttributes#getStandalone()

        aMethodIsCalled();
        return null;
    
public javax.xml.transform.TransformergetTransformer()

see
SerializationHandler#getTransformer()

        aMethodIsCalled();
        return null;
    
public java.lang.StringgetVersion()

see
XSLOutputAttributes#getVersion()

        aMethodIsCalled();
        return null;
    
public java.io.WritergetWriter()

see
SerializationHandler#getWriter()

        aMethodIsCalled();
        return null;
    
public voidignorableWhitespace(char[] arg0, int arg1, int arg2)

see
org.xml.sax.ContentHandler#ignorableWhitespace(char[], int, int)

        couldThrowSAXException();
    
public voidinternalEntityDecl(java.lang.String arg0, java.lang.String arg1)

see
org.xml.sax.ext.DeclHandler#internalEntityDecl(java.lang.String, java.lang.String)

        couldThrowSAXException();
    
public voidnamespaceAfterStartElement(java.lang.String uri, java.lang.String prefix)

see
ExtendedContentHandler#namespaceAfterStartElement(java.lang.String, java.lang.String)

        couldThrowSAXException();
    
public voidnotationDecl(java.lang.String arg0, java.lang.String arg1, java.lang.String arg2)

see
org.xml.sax.DTDHandler#notationDecl(java.lang.String, java.lang.String, java.lang.String)

        couldThrowSAXException(); 
    
public voidprocessingInstruction(java.lang.String arg0, java.lang.String arg1)

see
org.xml.sax.ContentHandler#processingInstruction(java.lang.String, java.lang.String)

        couldThrowSAXException();
    
public booleanreset()

see
SerializationHandler#reset()

        aMethodIsCalled();
        return false;
    
public voidserialize(org.w3c.dom.Node node)

see
SerializationHandler#serialize(org.w3c.dom.Node)

        couldThrowIOException();
    
public voidsetCdataSectionElements(java.util.Vector URI_and_localNames)

see
SerializationHandler#setCdataSectionElements(java.util.Vector)

        aMethodIsCalled();
    
public voidsetCdataSectionElements(java.util.Hashtable h)

see
XSLOutputAttributes#setCdataSectionElements

        couldThrowException();
    
public voidsetContentHandler(org.xml.sax.ContentHandler ch)

see
SerializationHandler#setContentHandler(org.xml.sax.ContentHandler)

        aMethodIsCalled();
    
public voidsetDTDEntityExpansion(boolean expand)

see
SerializationHandler#setDTDEntityExpansion(boolean)

        aMethodIsCalled();

    
public voidsetDoctype(java.lang.String system, java.lang.String pub)

see
XSLOutputAttributes#setDoctype(java.lang.String, java.lang.String)

        aMethodIsCalled();
    
public voidsetDoctypePublic(java.lang.String doctype)

see
XSLOutputAttributes#setDoctypePublic(java.lang.String)

        aMethodIsCalled();
    
public voidsetDoctypeSystem(java.lang.String doctype)

see
XSLOutputAttributes#setDoctypeSystem(java.lang.String)

        aMethodIsCalled();
    
public voidsetDocumentLocator(org.xml.sax.Locator arg0)

see
org.xml.sax.ContentHandler#setDocumentLocator(org.xml.sax.Locator)

        aMethodIsCalled();
    
public voidsetEncoding(java.lang.String encoding)

see
XSLOutputAttributes#setEncoding(java.lang.String)

        aMethodIsCalled();
    
public booleansetEscaping(boolean escape)

see
SerializationHandler#setEscaping(boolean)

        couldThrowSAXException();
        return false;
    
public voidsetIndent(boolean indent)

see
SerializationHandler#setIndent(boolean)

        aMethodIsCalled();
    
public voidsetIndentAmount(int spaces)

see
SerializationHandler#setIndentAmount(int)

        aMethodIsCalled();
    
public voidsetMediaType(java.lang.String mediatype)

see
XSLOutputAttributes#setMediaType(java.lang.String)

        aMethodIsCalled();
    
public voidsetNamespaceMappings(com.sun.org.apache.xml.internal.serializer.NamespaceMappings mappings)

see
SerializationHandler#setNamespaceMappings(NamespaceMappings)

        aMethodIsCalled();
    
public voidsetOmitXMLDeclaration(boolean b)

see
XSLOutputAttributes#setOmitXMLDeclaration(boolean)

        aMethodIsCalled();
    
public voidsetOutputFormat(java.util.Properties format)

see
SerializationHandler#setOutputFormat(java.util.Properties)

        aMethodIsCalled();
    
public voidsetOutputStream(java.io.OutputStream output)

see
SerializationHandler#setOutputStream(java.io.OutputStream)

        aMethodIsCalled();
    
public voidsetSourceLocator(javax.xml.transform.SourceLocator locator)

see
ExtendedContentHandler#setSourceLocator(javax.xml.transform.SourceLocator)

        aMethodIsCalled();
    
public voidsetStandalone(java.lang.String standalone)

see
XSLOutputAttributes#setStandalone(java.lang.String)

        aMethodIsCalled();
    
public voidsetTransformer(javax.xml.transform.Transformer transformer)

see
SerializationHandler#setTransformer(javax.xml.transform.Transformer)

        aMethodIsCalled();
    
public voidsetVersion(java.lang.String version)

see
SerializationHandler#setVersion(java.lang.String)

        aMethodIsCalled();
    
public voidsetWriter(java.io.Writer writer)

see
SerializationHandler#setWriter(java.io.Writer)

        aMethodIsCalled();
    
public voidskippedEntity(java.lang.String arg0)

see
org.xml.sax.ContentHandler#skippedEntity(java.lang.String)

        couldThrowSAXException();
    
public voidstartCDATA()

see
org.xml.sax.ext.LexicalHandler#startCDATA()

        couldThrowSAXException();
    
public voidstartDTD(java.lang.String arg0, java.lang.String arg1, java.lang.String arg2)

see
org.xml.sax.ext.LexicalHandler#startDTD(java.lang.String, java.lang.String, java.lang.String)

        couldThrowSAXException();
    
public voidstartDocument()

see
ExtendedContentHandler#startDocument()

        couldThrowSAXException();
    
public voidstartElement(java.lang.String uri, java.lang.String localName, java.lang.String qName)

see
ExtendedContentHandler#startElement(java.lang.String, java.lang.String, java.lang.String)

        couldThrowSAXException(qName);
    
public voidstartElement(java.lang.String qName)

see
ExtendedContentHandler#startElement(java.lang.String)

        couldThrowSAXException(qName);
    
public voidstartElement(java.lang.String arg0, java.lang.String arg1, java.lang.String arg2, org.xml.sax.Attributes arg3)

see
org.xml.sax.ContentHandler#startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes)

        couldThrowSAXException();
    
public voidstartEntity(java.lang.String arg0)

see
org.xml.sax.ext.LexicalHandler#startEntity(java.lang.String)

        couldThrowSAXException();
    
public booleanstartPrefixMapping(java.lang.String prefix, java.lang.String uri, boolean shouldFlush)

see
ExtendedContentHandler#startPrefixMapping(java.lang.String, java.lang.String, boolean)

        couldThrowSAXException();
        return false;
    
public voidstartPrefixMapping(java.lang.String arg0, java.lang.String arg1)

see
org.xml.sax.ContentHandler#startPrefixMapping(java.lang.String, java.lang.String)

        couldThrowSAXException();
    
public voidunparsedEntityDecl(java.lang.String arg0, java.lang.String arg1, java.lang.String arg2, java.lang.String arg3)

see
org.xml.sax.DTDHandler#unparsedEntityDecl(java.lang.String, java.lang.String, java.lang.String, java.lang.String)

        couldThrowSAXException();
    
public voidwarning(org.xml.sax.SAXParseException arg0)

see
org.xml.sax.ErrorHandler#warning(org.xml.sax.SAXParseException)

        couldThrowSAXException();