MSTRLayoutParser.ParserContentHandler
|
getContentHandler(String layoutLocation)
|
String
|
getDescription()
Gets the description of this layout parser object (to be read by someone
wishing to use it).
|
InputStream
|
getEntityAsStream(String entityId)
Returns an InputStream for the specified entity file name.
|
EntityResolver
|
getEntityResolver(String entitySearchDir)
Returns an EntityResolver object used by the parser to resolve references
to external DTDs.
|
ErrorHandler
|
getErrorHandler(LayoutParser.MessageListener listener, MSTRLayoutParser.ParserContentHandler pch)
Returns an ErrorHandler object used by the parser to route error and warning
messages back to the caller.
|
InputSource
|
getInputSource(String xmlText)
Returns an InputSource object for the supplied layout XML.
|
LayoutTag
|
loadDocument(InputSource inputSource, String layoutLocation, String entitySearchDir, LayoutParser.MessageListener listener)
This method performs the actual SAX parsing of the layout definition.
|
LayoutTag
|
parseLayout(String layout, String location, LayoutSource layoutSource, LayoutParser.MessageListener listener)
This method performs a parsing operation on a layout definition (supplied as a
string).
|
LayoutTag
|
parseLayout(String layout, String location, LayoutParser.MessageListener listener)
|
void
|
performStaticSemanticChecks(LayoutTag layoutTag, LayoutParser.MessageListener listener)
Perform any additional static semantic analyses on the generated LayoutTag object.
|