com.skaringa.javaxml.handler
Class AbstractDocumentOutputHandler

java.lang.Object
  extended by com.skaringa.javaxml.handler.AbstractDocumentOutputHandler
All Implemented Interfaces:
DocumentOutputHandlerInterface
Direct Known Subclasses:
DOMOutputHandler, SAXOutputHandler

public abstract class AbstractDocumentOutputHandler
extends java.lang.Object
implements DocumentOutputHandlerInterface

An abstract base helper class for DocumentOutputHandlers.


Constructor Summary
AbstractDocumentOutputHandler()
           
 
Method Summary
protected  org.xml.sax.Attributes appendNamespaceDeclarations(java.lang.String name, org.xml.sax.Attributes attrs)
          Append the namespace declarations form XML schema and instance to the attributes of an element.
 java.util.Map getProperties()
          Get the properties of this DocumentOutputHandler.
 void setProperties(java.util.Map propertyMap)
          Set the properties of this DocumentOutputHandler.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.skaringa.javaxml.handler.DocumentOutputHandlerInterface
appendText, endDocument, endElement, startDocument, startElement, startElement
 

Constructor Detail

AbstractDocumentOutputHandler

public AbstractDocumentOutputHandler()
Method Detail

appendNamespaceDeclarations

protected final org.xml.sax.Attributes appendNamespaceDeclarations(java.lang.String name,
                                                                   org.xml.sax.Attributes attrs)
Append the namespace declarations form XML schema and instance to the attributes of an element.

Parameters:
name - The name of the element.
attrs - The attributes.
Returns:
The attributes extended with the namespace declarations.

setProperties

public final void setProperties(java.util.Map propertyMap)
Set the properties of this DocumentOutputHandler.

Specified by:
setProperties in interface DocumentOutputHandlerInterface
Parameters:
propertyMap - The properties.

getProperties

public final java.util.Map getProperties()
Get the properties of this DocumentOutputHandler.

Specified by:
getProperties in interface DocumentOutputHandlerInterface
Returns:
The properties.