wt.projmgmt.msproject
Class ChildContentHandler

java.lang.Object
  extended bywt.projmgmt.msproject.DefaultSAXContentHandler
      extended bywt.projmgmt.msproject.ChildContentHandler
All Implemented Interfaces:
ContentHandler, ContentHandler
Direct Known Subclasses:
IgnoreContentHandler, MPPExtendedAttributeBuilder, MPPObjectBuilder, MPPPredecessorLinkBuilder, ObjectContentHandler

public class ChildContentHandler
extends DefaultSAXContentHandler
implements ContentHandler

This ContentHandler supports linking handlers together into a hierarchy.


Field Summary
private  ContentHandler parent
           
 
Constructor Summary
ChildContentHandler(ContentHandler parent)
           
 
Method Summary
 Locator getDocumentLocator()
          Get the parent handler's Locator
 ImportInfo getImportInfo()
          Get the ImportInfo that is used to control this handler's parsing.
protected  ContentHandler getParent()
           
 XMLReader getReader()
          Get the handler's XMLReader.
 void setDocumentLocator(Locator locator)
          Set the parent handler's Locator
protected  void setParent(ContentHandler parent)
           
 
Methods inherited from class wt.projmgmt.msproject.DefaultSAXContentHandler
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, outputEndElement, outputStartElement, processingInstruction, skippedEntity, startDocument, startElement, startPrefixMapping
 
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, skippedEntity, startDocument, startElement, startPrefixMapping
 

Field Detail

parent

private ContentHandler parent
Constructor Detail

ChildContentHandler

public ChildContentHandler(ContentHandler parent)
Method Detail

getParent

protected final ContentHandler getParent()

setParent

protected final void setParent(ContentHandler parent)

getReader

public final XMLReader getReader()
Description copied from interface: ContentHandler
Get the handler's XMLReader.

Specified by:
getReader in interface ContentHandler

getDocumentLocator

public Locator getDocumentLocator()
Get the parent handler's Locator

Specified by:
getDocumentLocator in interface ContentHandler

setDocumentLocator

public void setDocumentLocator(Locator locator)
Set the parent handler's Locator

Specified by:
setDocumentLocator in interface ContentHandler
Overrides:
setDocumentLocator in class DefaultSAXContentHandler

getImportInfo

public final ImportInfo getImportInfo()
Description copied from interface: ContentHandler
Get the ImportInfo that is used to control this handler's parsing.

Specified by:
getImportInfo in interface ContentHandler