|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xml.sax.helpers.DefaultHandler gov.bnl.star.offline.scheduler.request.RequestTypeHandler
public class RequestTypeHandler
Reads a STAR scheduler job request to determine its format and version.
Field Summary | |
---|---|
static java.lang.String |
JDLRootElement
|
static java.lang.String |
RDLRootElement
|
Constructor Summary | |
---|---|
RequestTypeHandler()
Parses an XML file to determine its format and version. |
Method Summary | |
---|---|
int |
getRequestType()
Get the request type |
void |
startElement(java.lang.String namespaceURI,
java.lang.String sName,
java.lang.String qName,
org.xml.sax.Attributes attrs)
Parsing method. |
Methods inherited from class org.xml.sax.helpers.DefaultHandler |
---|
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String JDLRootElement
public static final java.lang.String RDLRootElement
Constructor Detail |
---|
public RequestTypeHandler()
Method Detail |
---|
public void startElement(java.lang.String namespaceURI, java.lang.String sName, java.lang.String qName, org.xml.sax.Attributes attrs) throws RequestTypeException
startElement
in interface org.xml.sax.ContentHandler
startElement
in class org.xml.sax.helpers.DefaultHandler
RequestTypeException
public int getRequestType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |