public class PresentationParser
extends org.xml.sax.helpers.DefaultHandler
Modifier and Type | Field and Description |
---|---|
protected java.util.Set |
idList
Used to detect duplicate id's in the presentation definition
|
Constructor and Description |
---|
PresentationParser(java.io.File file) |
PresentationParser(java.lang.String xml) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getApplication() |
java.util.Map |
getLabels() |
java.lang.String |
getTrimmedXML() |
void |
startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes attributes)
Receives notification of start of element.
|
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
protected java.util.Set idList
public PresentationParser(java.lang.String xml) throws java.lang.Exception
java.lang.Exception
public PresentationParser(java.io.File file) throws java.lang.Exception
java.lang.Exception
public java.lang.String getApplication()
public java.util.Map getLabels()
public java.lang.String getTrimmedXML()
public void startElement(java.lang.String uri, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes attributes) throws org.xml.sax.SAXException
startElement
in interface org.xml.sax.ContentHandler
startElement
in class org.xml.sax.helpers.DefaultHandler
org.xml.sax.SAXException