|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.projmgmt.msproject.DefaultSAXContentHandler
wt.projmgmt.msproject.ChildContentHandler
wt.projmgmt.msproject.mppobject.MPPPredecessorLinkBuilder
A ContentHandler
that parses the values for
an ExtendedAttribute
element.
Field Summary | |
private StringBuffer |
buffer
|
private Map |
map
|
private static int |
MAP_INIT_CAPACITY
|
Fields inherited from class wt.projmgmt.msproject.ChildContentHandler |
|
Constructor Summary | |
MPPPredecessorLinkBuilder(ContentHandler parent)
Create a handler that parses values for a PredecessorLink element. |
Method Summary | |
private void |
addKeyValuePair(String namespaceURL,
String localName,
String qName)
If there is character content in the content buffer, add it it to the map. |
void |
characters(char[] ch,
int start,
int length)
|
void |
endElement(String namespaceURL,
String localName,
String qName)
|
long |
getPredecessorUID()
Get the UID of the predecessor. |
int |
getType()
Get the Type of the predecessor link. |
boolean |
isDefined()
Returns true if this handler contains a
complete set of data to define an extended attribute. |
private void |
printKeyValuePairs()
Print out the key=>value pairs that this handler has parsed so far. |
void |
reset()
Removes all mappings from this handler. |
Methods inherited from class wt.projmgmt.msproject.ChildContentHandler |
getDocumentLocator, getImportInfo, getParent, getReader, setDocumentLocator, setParent |
Methods inherited from class wt.projmgmt.msproject.DefaultSAXContentHandler |
endDocument, 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 |
endDocument, endPrefixMapping, ignorableWhitespace, processingInstruction, skippedEntity, startDocument, startElement, startPrefixMapping |
Field Detail |
private static final int MAP_INIT_CAPACITY
private final Map map
private StringBuffer buffer
Constructor Detail |
public MPPPredecessorLinkBuilder(ContentHandler parent)
PredecessorLink
element.
parent
- the parent handlerMethod Detail |
public long getPredecessorUID()
UID
of the predecessor.
public int getType()
Type
of the predecessor link.
public boolean isDefined()
true
if this handler contains a
complete set of data to define an extended attribute.
public void reset()
public final void characters(char[] ch, int start, int length) throws SAXException
characters
in interface ContentHandler
characters
in class DefaultSAXContentHandler
SAXException
public final void endElement(String namespaceURL, String localName, String qName) throws SAXException
endElement
in interface ContentHandler
endElement
in class DefaultSAXContentHandler
SAXException
private final void addKeyValuePair(String namespaceURL, String localName, String qName)
private final void printKeyValuePairs()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |