wt.projmgmt.msproject.mppobject
Class MPPAssignmentBuilder
java.lang.Object
wt.projmgmt.msproject.DefaultSAXContentHandler
wt.projmgmt.msproject.ChildContentHandler
wt.projmgmt.msproject.mppobject.MPPObjectBuilder
wt.projmgmt.msproject.mppobject.MPPAssignmentBuilder
- All Implemented Interfaces:
- ContentHandler, ContentHandler
- public class MPPAssignmentBuilder
- extends MPPObjectBuilder
A ContentHandler
that builds a
MPPAssignment
from the data
contained in a section of the document it is parsing.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MPPAssignmentBuilder
public MPPAssignmentBuilder(ContentHandler parent)
- Create a handler that builds a
MPPAssignment
from a particular portion of the document being scanned.
If this constructor is used then MPPObjectBuilder.setScope(java.lang.String)
must
be called to set the scope before the builder is used.
- Parameters:
parent
- the parent handler
MPPAssignmentBuilder
public MPPAssignmentBuilder(ContentHandler parent,
String localName)
- Create a handler that builds a
MPPAssignment
from a particular portion of the document being scanned.
When the end tag for the specified scope
element
is encontered, control is passed back to the parent handler.
- Parameters:
parent
- the parent handlerlocalName
- the localName of the scoping element
createObject
protected MPPObject createObject()
- Description copied from class:
MPPObjectBuilder
- Create the
MPPObject
that should be populated by this builder.
- Specified by:
createObject
in class MPPObjectBuilder
getAssignment
public final MPPAssignment getAssignment()
isUnsupported
protected boolean isUnsupported(String namespaceURL,
String localName,
String qName)
- Description copied from class:
MPPObjectBuilder
- Returns true if the specified element contains data that
should be ignored by this builder. If this returns true
for a particular element, then control will be turned over
to a
IgnoreContentHandler
until the element is complete.
- Specified by:
isUnsupported
in class MPPObjectBuilder