Methods in edu.cmu.emulator.event that throw DeserializationException |
private static EmuEvent |
EventDefParser.parseEEAdd(Element eventDef,
long time)
|
private static EmuEvent |
EventDefParser.parseEEEventThreadExit(Element eventDef,
long time)
|
private static EmuEvent |
EventDefParser.parseEEExec(Element eventDef,
long time)
|
private static EmuEvent |
EventDefParser.parseEEMessage(Element eventDef,
long time)
|
private static EmuEvent |
EventDefParser.parseEERandomWalk(Element eventDef,
long time)
|
private static EmuEvent |
EventDefParser.parseEESetDestAndArrivalTime(Element eventDef,
long time)
|
private static EmuEvent |
EventDefParser.parseEESetDestAndDuration(Element eventDef,
long time)
|
private static EmuEvent |
EventDefParser.parseEESetOrientation(Element eventDef,
long time)
|
private static EmuEvent |
EventDefParser.parseEESetPos(Element eventDef,
long time)
|
private static EmuEvent |
EventDefParser.parseEESetScriptName(Element eventDef,
long time)
|
private static EmuEvent |
EventDefParser.parseEESleep(Element eventDef,
long time)
|
protected static EmuEvent |
EventDefParser.parseEvent(Element eventDef,
long time)
|
protected static ArrayList |
EventDefParser.parseEventGroup(Element egDef)
|
private static EmuEvent |
EventDefParser.parseStartRoute(Element eventDef,
long time)
|
Methods in edu.cmu.emulator.util that throw DeserializationException |
static boolean |
XMLUtil.childExists(Element element,
String tagName)
|
static Element |
XMLUtil.convertToDom(byte[] msg,
String rootElementName)
|
static Element |
XMLUtil.convertToDom(InputStream inStream,
String rootElementName)
|
static Element |
XMLUtil.getChildByTagName(Document queryElement,
String tagName)
Return a single child by a given tag name. |
static Element |
XMLUtil.getChildByTagName(Element element,
String tagName)
Return a single child by a given tag name. |
static Element |
XMLUtil.getChildByTagName(Element element,
String tagName,
boolean required)
Return a single child by a given tag name. |
static ArrayList |
XMLUtil.getChildrenByTagName(Element element,
String tagName)
Return all children matching a given tag name. |
static Element |
XMLUtil.getChoice(Element element,
String[] choices)
note getChoice doesn't handle the case where both an
completely bogus entry and a valid choice are selected
it simply picks the valid choice |
static Element |
XMLUtil.getElementChild(Element element,
int index)
Return nth child that is an Element. |
static Element |
XMLUtil.getFirstElementChild(Document doc)
Return first children that is an Element. |
static Element |
XMLUtil.getFirstElementChild(Element element)
Return first children that is an Element. |
static String |
XMLUtil.getSingleTextContent(Element element)
Return a single text child of an Element. |
static String |
XMLUtil.getSingleTextContent(Element element,
boolean requireContent)
|
static boolean |
XMLUtil.parseBoolean(Element element)
|
static boolean |
XMLUtil.parseBooleanChild(Element element,
String childName)
|
static double |
XMLUtil.parseDouble(Element element)
|
static double |
XMLUtil.parseDoubleChild(Element element,
String childName)
|
static double |
XMLUtil.parseDoubleChild(Element element,
String childName,
boolean required)
|
static int |
XMLUtil.parseInt(Element element)
|
static int |
XMLUtil.parseIntChild(Element element,
String childName)
|
static long |
XMLUtil.parseLong(Element element)
|
static long |
XMLUtil.parseLongChild(Element element,
String childName)
|
static String |
XMLUtil.parseString(Element element)
|
static String |
XMLUtil.parseStringChild(Element element,
String childName)
|
static String |
XMLUtil.parseStringChild(Element element,
String childName,
boolean required)
|