|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectorg.xml.sax.helpers.DefaultHandler
org.apache.commons.latka.xml.FindVariablesHandler
This handler is used by the
XMLPreprocessr#findVariablesFro,URI(String)
method to read the external entities of an XML
suite and find any variables referenced there.
The only purpose of the suite is to leverage
SAX's awareness of these entities' locations.
XMLPreprocessr#findVariablesFromURI(String)| Constructor Summary | |
FindVariablesHandler()
|
|
| Method Summary | |
java.util.Set |
getVariables()
After the parse is complete, this method returns the unique variables referenced in the external entities. |
org.xml.sax.InputSource |
resolveEntity(java.lang.String publicId,
java.lang.String systemId)
For each entity, find all the variables and assign them to the Set. |
| Methods inherited from class org.xml.sax.helpers.DefaultHandler |
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warning |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FindVariablesHandler()
| Method Detail |
public java.util.Set getVariables()
public org.xml.sax.InputSource resolveEntity(java.lang.String publicId,
java.lang.String systemId)
throws org.xml.sax.SAXException
publicId - public id of entity, as defined by SAXsystemId - file URI of the external entity
org.xml.sax.SAXException - if the entity could not be read
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||