FileDocCategorySizeDatePackage
EmptySerializer.javaAPI DocJava SE 5 API21043Fri Aug 26 14:56:02 BST 2005com.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.

Fields Summary
protected static final String
ERR
Constructors Summary
Methods Summary
public voidaddAttribute(java.lang.String uri, java.lang.String localName, java.lang.String rawName, java.lang.String type, java.lang.String value)

see
com.sun.org.apache.xml.internal.serializer.ExtendedContentHandler#addAttribute(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)

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

see
com.sun.org.apache.xml.internal.serializer.ExtendedContentHandler#addAttribute(java.lang.String, java.lang.String)

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

see
com.sun.org.apache.xml.internal.serializer.ExtendedContentHandler#addAttributes(org.xml.sax.Attributes)

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

see
com.sun.org.apache.xml.internal.serializer.ExtendedContentHandler#addUniqueAttribute(java.lang.String, java.lang.String, int)

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

see
com.sun.org.apache.xml.internal.serializer.SerializationHandler#asContentHandler()

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

see
com.sun.org.apache.xml.internal.serializer.Serializer#asDOMSerializer()

        throwUnimplementedException();
        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)

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

see
com.sun.org.apache.xml.internal.serializer.ExtendedContentHandler#characters(java.lang.String)

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

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

        throwUnimplementedException();
    
public voidclose()

see
com.sun.org.apache.xml.internal.serializer.SerializationHandler#close()

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

see
com.sun.org.apache.xml.internal.serializer.ExtendedLexicalHandler#comment(java.lang.String)

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

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

        throwUnimplementedException();
    
public voidelementDecl(java.lang.String arg0, java.lang.String arg1)

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

        throwUnimplementedException();
    
public voidendCDATA()

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

        throwUnimplementedException();
    
public voidendDTD()

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

        throwUnimplementedException();
    
public voidendDocument()

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

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

see
com.sun.org.apache.xml.internal.serializer.ExtendedContentHandler#endElement(java.lang.String)

        throwUnimplementedException();
    
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)

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

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

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

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

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

see
com.sun.org.apache.xml.internal.serializer.ExtendedContentHandler#entityReference(java.lang.String)

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

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

        throwUnimplementedException();
    
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)

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

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

        throwUnimplementedException();
    
public voidflushPending()

see
com.sun.org.apache.xml.internal.serializer.SerializationHandler#flushPending()

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

see
com.sun.org.apache.xml.internal.serializer.XSLOutputAttributes#getDoctypePublic()

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

see
com.sun.org.apache.xml.internal.serializer.XSLOutputAttributes#getDoctypeSystem()

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

see
com.sun.org.apache.xml.internal.serializer.XSLOutputAttributes#getEncoding()

        throwUnimplementedException();
        return null;
    
public booleangetIndent()

see
com.sun.org.apache.xml.internal.serializer.XSLOutputAttributes#getIndent()

        throwUnimplementedException();
        return false;
    
public intgetIndentAmount()

see
com.sun.org.apache.xml.internal.serializer.XSLOutputAttributes#getIndentAmount()

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

see
com.sun.org.apache.xml.internal.serializer.XSLOutputAttributes#getMediaType()

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

see
com.sun.org.apache.xml.internal.serializer.ExtendedContentHandler#getNamespaceMappings()

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

see
com.sun.org.apache.xml.internal.serializer.ExtendedContentHandler#getNamespaceURI(java.lang.String, boolean)

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

see
com.sun.org.apache.xml.internal.serializer.ExtendedContentHandler#getNamespaceURIFromPrefix(java.lang.String)

        throwUnimplementedException();
        return null;
    
public booleangetOmitXMLDeclaration()

see
com.sun.org.apache.xml.internal.serializer.XSLOutputAttributes#getOmitXMLDeclaration()

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

see
com.sun.org.apache.xml.internal.serializer.SerializationHandler#getOutputFormat()

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

see
com.sun.org.apache.xml.internal.serializer.SerializationHandler#getOutputStream()

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

see
com.sun.org.apache.xml.internal.serializer.ExtendedContentHandler#getPrefix(java.lang.String)

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

see
com.sun.org.apache.xml.internal.serializer.XSLOutputAttributes#getStandalone()

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

see
com.sun.org.apache.xml.internal.serializer.SerializationHandler#getTransformer()

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

see
com.sun.org.apache.xml.internal.serializer.XSLOutputAttributes#getVersion()

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

see
com.sun.org.apache.xml.internal.serializer.SerializationHandler#getWriter()

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

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

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

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

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

see
com.sun.org.apache.xml.internal.serializer.ExtendedContentHandler#namespaceAfterStartElement(java.lang.String, java.lang.String)

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

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

        throwUnimplementedException();
    
public booleanreset()

see
com.sun.org.apache.xml.internal.serializer.SerializationHandler#reset()

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

see
com.sun.org.apache.xml.internal.serializer.SerializationHandler#serialize(org.w3c.dom.Node)

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

see
com.sun.org.apache.xml.internal.serializer.SerializationHandler#setCdataSectionElements(java.util.Vector)

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

see
com.sun.org.apache.xml.internal.serializer.XSLOutputAttributes#setCdataSectionElements

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

see
com.sun.org.apache.xml.internal.serializer.SerializationHandler#setContentHandler(org.xml.sax.ContentHandler)

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

see
com.sun.org.apache.xml.internal.serializer.XSLOutputAttributes#setDoctype(java.lang.String, java.lang.String)

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

see
com.sun.org.apache.xml.internal.serializer.XSLOutputAttributes#setDoctypePublic(java.lang.String)

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

see
com.sun.org.apache.xml.internal.serializer.XSLOutputAttributes#setDoctypeSystem(java.lang.String)

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

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

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

see
com.sun.org.apache.xml.internal.serializer.XSLOutputAttributes#setEncoding(java.lang.String)

        throwUnimplementedException();
    
public booleansetEscaping(boolean escape)

see
com.sun.org.apache.xml.internal.serializer.SerializationHandler#setEscaping(boolean)

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

see
com.sun.org.apache.xml.internal.serializer.SerializationHandler#setIndent(boolean)

        throwUnimplementedException();
    
public voidsetIndentAmount(int spaces)

see
com.sun.org.apache.xml.internal.serializer.SerializationHandler#setIndentAmount(int)

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

see
com.sun.org.apache.xml.internal.serializer.XSLOutputAttributes#setMediaType(java.lang.String)

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

see
com.sun.org.apache.xml.internal.serializer.SerializationHandler#setNamespaceMappings(NamespaceMappings)

        throwUnimplementedException();
    
public voidsetOmitXMLDeclaration(boolean b)

see
com.sun.org.apache.xml.internal.serializer.XSLOutputAttributes#setOmitXMLDeclaration(boolean)

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

see
com.sun.org.apache.xml.internal.serializer.SerializationHandler#setOutputFormat(java.util.Properties)

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

see
com.sun.org.apache.xml.internal.serializer.SerializationHandler#setOutputStream(java.io.OutputStream)

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

see
com.sun.org.apache.xml.internal.serializer.ExtendedContentHandler#setSourceLocator(javax.xml.transform.SourceLocator)

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

see
com.sun.org.apache.xml.internal.serializer.XSLOutputAttributes#setStandalone(java.lang.String)

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

see
com.sun.org.apache.xml.internal.serializer.SerializationHandler#setTransformer(javax.xml.transform.Transformer)

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

see
com.sun.org.apache.xml.internal.serializer.SerializationHandler#setVersion(java.lang.String)

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

see
com.sun.org.apache.xml.internal.serializer.SerializationHandler#setWriter(java.io.Writer)

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

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

        throwUnimplementedException();
    
public voidstartCDATA()

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

        throwUnimplementedException();
    
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)

        throwUnimplementedException();
    
public voidstartDocument()

see
com.sun.org.apache.xml.internal.serializer.ExtendedContentHandler#startDocument()

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

see
com.sun.org.apache.xml.internal.serializer.ExtendedContentHandler#startElement(java.lang.String, java.lang.String, java.lang.String)

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

see
com.sun.org.apache.xml.internal.serializer.ExtendedContentHandler#startElement(java.lang.String)

        throwUnimplementedException();
    
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)

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

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

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

see
com.sun.org.apache.xml.internal.serializer.ExtendedContentHandler#startPrefixMapping(java.lang.String, java.lang.String, boolean)

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

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

        throwUnimplementedException();
    
private static voidthrowUnimplementedException()

see
com.sun.org.apache.xml.internal.serializer.SerializationHandler#asContentHandler()

           

       
    
        /* TODO: throw this exception for real.
         * Some users of this class do not over-ride all methods that 
         * they use, which is a violation of the intended use of this
         * class. Those tests used to end in error, but fail when this
         * exception is enabled.  Perhaps that is an indication of what
         * the true problem is.  Such tests include copy56,58,59,60 for 
         * both Xalan-J interpretive and for XSLTC. - bjm
         */
        // throw new RuntimeException(err);
        return;
    
public voidwarning(org.xml.sax.SAXParseException arg0)

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

        throwUnimplementedException();