net.sf.joost.emitter
Class StxEmitterBase

java.lang.Object
  extended by net.sf.joost.emitter.StxEmitterBase
All Implemented Interfaces:
Constants, StxEmitter, ContentHandler, LexicalHandler
Direct Known Subclasses:
BufferEmitter, DOMEmitter, SAXEmitter, StreamEmitter, StringEmitter

public abstract class StxEmitterBase
extends Object
implements StxEmitter

Abstract base StxEmitter implementation class that provides setSystemId(String) and getSystemId().

Version:
$Revision: 1.1 $ $Date: 2005/03/13 17:12:49 $
Author:
Oliver Becker

Field Summary
private  String systemId
          The system identifier of this STX emitter (optional)
 
Fields inherited from interface net.sf.joost.Constants
DEBUG, DEFAULT_ENCODING, FEAT_NS, FEAT_NSPREFIX, FEATURE_URI_PREFIX, FUNC_NS, JOOST_EXT_NS, PR_ATTRIBUTES, PR_BUFFER, PR_CHILDREN, PR_CONTINUE, PR_ERROR, PR_SELF, PR_SIBLINGS, STX_NS
 
Constructor Summary
StxEmitterBase()
           
 
Method Summary
 String getSystemId()
          Get the system identifier that was set with StxEmitter.setSystemId(String).
 void setSystemId(String systemId)
          Set the system identifier for this emitter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.xml.sax.ContentHandler
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping
 
Methods inherited from interface org.xml.sax.ext.LexicalHandler
comment, endCDATA, endDTD, endEntity, startCDATA, startDTD, startEntity
 

Field Detail

systemId

private String systemId
The system identifier of this STX emitter (optional)

Constructor Detail

StxEmitterBase

public StxEmitterBase()
Method Detail

setSystemId

public void setSystemId(String systemId)
Description copied from interface: StxEmitter
Set the system identifier for this emitter. This is optional - the system identifier may be used to resolve relative output identifiers.

Specified by:
setSystemId in interface StxEmitter
Parameters:
systemId - the system identifier as a URI string

getSystemId

public String getSystemId()
Description copied from interface: StxEmitter
Get the system identifier that was set with StxEmitter.setSystemId(String).

Specified by:
getSystemId in interface StxEmitter
Returns:
the system identifier or null if StxEmitter.setSystemId(String) was not called.