|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LocalizationParser
Method Summary | |
---|---|
java.lang.String |
getContentType()
Returns the mime-type string that this parser matches |
void |
parse(java.io.InputStream in)
Actually parse an input stream, the content of the input stream must match the mime-type of the parser. |
ErrorHandler |
setErrorHandler(ErrorHandler aHandler)
Replaces the handler that decides how exceptions are processed |
com.ibm.portal.spa.parser.LocalizationContentHandler |
setLocalizationContentHandler(com.ibm.portal.spa.parser.LocalizationContentHandler aHandler)
Associate a LocalizationContentHandler as the callback interface
to the parser. |
URIResolver |
setURIResolver(URIResolver aResolver)
Replaces the URIResolver that resolves relative URLs |
Methods inherited from interface com.ibm.portal.Disposable |
---|
dispose |
Method Detail |
---|
java.lang.String getContentType()
null
void parse(java.io.InputStream in) throws java.io.IOException
in
- input stream of the document to be parsed
java.io.IOException
ErrorHandler setErrorHandler(ErrorHandler aHandler)
aHandler
- the error handler
com.ibm.portal.spa.parser.LocalizationContentHandler setLocalizationContentHandler(com.ibm.portal.spa.parser.LocalizationContentHandler aHandler)
LocalizationContentHandler
as the callback interface
to the parser. The parser will then throw events onto this callback that
represent the structure of the document
aHandler
- callback handler, may be null
to remove the
handler
URIResolver setURIResolver(URIResolver aResolver)
URIResolver
that resolves relative URLs
aResolver
- the resolver
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |