public class NARHandler extends ContextParser
Constructor and Description |
---|
NARHandler() |
Modifier and Type | Method and Description |
---|---|
ElementContext |
getContext(java.lang.String name)
Used to retrieve the correct
ElementContext given an XML
element name. |
com.nt.udc.datadictparser.DataDictionary |
getDataDictionary() |
void |
setDataDictionary(com.nt.udc.datadictparser.DataDictionary dataDictionary) |
addFactory, characters, createNewContext, endElement, getRoot, setDocumentLocator, startDocument, startElement, write
public com.nt.udc.datadictparser.DataDictionary getDataDictionary()
public void setDataDictionary(com.nt.udc.datadictparser.DataDictionary dataDictionary)
public ElementContext getContext(java.lang.String name) throws org.xml.sax.SAXParseException
ContextParser
ElementContext
given an XML
element name.
Using the given name, this method will retrieve a new ElementContext using
the ElementContextFactory
bound against that name. If no binding exists then the
UnknownContext
will be
returned.getContext
in interface NamedContextFactory
getContext
in class ContextParser
name
- The XML element name which we are retrieving the
ElementContext for.org.xml.sax.SAXParseException
- if an execption is caused during the creation
of the ElementContext.