edu.ucla.belief.io.xmlbif
Class UAI06Parser
Object
DefaultHandler
AbstractSaxHandler
XmlbifParser
UAI06Parser
- All Implemented Interfaces:
- RunReadBIF.MonitorableReusableParser, ContentHandler, DTDHandler, EntityResolver, ErrorHandler
public class UAI06Parser
- extends XmlbifParser
This class is intentionally stripped down, with the hope
of achieving the fastest possible performance on the UAI '06
input files.
http://www.cs.cmu.edu/~fgcozman/Research/InterchangeFormat
updated 20060531 for version 0.3a proposed by Jeff Bilmes 20060529
- Since:
- 20060622
- Author:
- keith cascio
Fields inherited from class XmlbifParser |
ARRAY_SAX_AVOIDABLE_PROPERTIES, ARRAY_TAGS_POTENTIAL, ARRAY_VALID_ROOT_ELEMENT, ARRAY_VERSIONS_SUPPORTED, INT_SIZE_ACCUMULATOR_INITIAL, MATCHER_COMMENT, PATTERN_COMMENT, PATTERN_DATA_DELIMITER, PATTERN_POSITION, REGEX_COMMENT, REGEX_DATA_DELIMITER, REGEX_POSITION, STR_ATTR_TYPE_L, STR_ATTR_TYPE_U, STR_ATTR_VERSION_L, STR_ATTR_VERSION_U, STR_TAG_ANONYMOUS_VALUES, STR_TAG_DEFINITION_0_3, STR_TAG_FOR, STR_TAG_GIVEN, STR_TAG_NAME, STR_TAG_NETWORK, STR_TAG_OBSERVATION, STR_TAG_OUTCOME, STR_TAG_PROBABILITY_0_3A, STR_TAG_PROPERTY, STR_TAG_ROOT_0_3, STR_TAG_ROOT_0_3A, STR_TAG_TABLE, STR_TAG_VARIABLE, STR_VERSION_0_3, STR_VERSION_0_3A |
Methods inherited from class XmlbifParser |
beliefNetwork, beliefNetwork, blankOutComments, cleanup, clear, createAnonymousOutcomes, getSchema, getValue, getValueIgnoreCase, intValueOf, isOneOf, isValidating, isValidationErrorFatal, mainImpl, translateToIdentifier |
Methods inherited from class AbstractSaxHandler |
characters, cleanupAbstractSaxHandler, endDocument, endElement, error, getCharactersHandler, getElementHandler, getFactory, getSAXParser, getSyntaxErrors, parse, parse, parse, printAll, setCharactersHandler, setElementHandler, startDocument, startElement |
Methods inherited from class DefaultHandler |
endPrefixMapping, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startPrefixMapping, unparsedEntityDecl, warning |
UAI06_ROOT
public static final String UAI06_ROOT
UAI06_VAR
public static final String UAI06_VAR
UAI06_TYPE
public static final String UAI06_TYPE
UAI06_PROB
public static final String UAI06_PROB
UAI06_NAME
public static final String UAI06_NAME
UAI06_ANON
public static final String UAI06_ANON
UAI06_OUTC
public static final String UAI06_OUTC
UAI06_OBSE
public static final String UAI06_OBSE
UAI06_FOR
public static final String UAI06_FOR
UAI06_GIVE
public static final String UAI06_GIVE
UAI06_TABL
public static final String UAI06_TABL
UAI06Parser
public UAI06Parser()
versionSupported
public boolean versionSupported(String version)
- Overrides:
versionSupported
in class XmlbifParser
isValidRootElementName
public boolean isValidRootElementName(String qname)
- Overrides:
isValidRootElementName
in class XmlbifParser
setHighPerformance
public void setHighPerformance(boolean flag)
- interface RunReadBIF.MonitorableReusableParser
- Specified by:
setHighPerformance
in interface RunReadBIF.MonitorableReusableParser
- Overrides:
setHighPerformance
in class XmlbifParser
configureFactory
public void configureFactory(SAXParserFactory factory)
- Description copied from class:
AbstractSaxHandler
- override this method if, e.g., you need to install an xml validation schema
- Overrides:
configureFactory
in class XmlbifParser
getValidRootHandler
public ElementHandler getValidRootHandler(String qName,
Attributes attributes)
- Overrides:
getValidRootHandler
in class XmlbifParser
main
public static void main(String[] args)
- test/debug
Copyright 2010 UCLA Automated Reasoning Group