|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XMLParser
XMLParser: Interface for TVAnytime XML parsers.
Method Summary | |
---|---|
void |
parse(java.io.File f)
Parse the content of the file specified as TVAnytime XML. |
void |
parse(org.xml.sax.InputSource is)
Parse the content of the given InputSource as TVAnytime XML. |
void |
parse(java.io.InputStream is)
Parse the content of the given InputStream as TVAnytime XML. |
void |
parse(java.lang.String uri)
Parse the content described by the given Universal Resource Identifier (URI). |
void |
setValidating(boolean validating)
Sets whether the parser should validate the XML. |
Method Detail |
---|
void parse(org.xml.sax.InputSource is) throws java.io.IOException, TVAnytimeException, NonFatalXMLException
is
- The InputSource containing the content to be parsed.
java.io.IOException
- If any IO errors occur.
TVAnytimeException
- If the underlying parser throws an error while parsing.
NonFatalXMLException
- If the underlying parser throws a non-fatal error while parsing.void parse(java.io.File f) throws java.io.IOException, TVAnytimeException, NonFatalXMLException
f
- File containing the TVAnytime XML.
java.io.IOException
- If any IO errors occur.
TVAnytimeException
- If the underlying parser throws an error while parsing.
NonFatalXMLException
- If the underlying parser throws a non-fatal error while parsing.void parse(java.io.InputStream is) throws java.io.IOException, TVAnytimeException
is
- The InputStream containing the content to be parsed.
java.io.IOException
- If any IO errors occur.
TVAnytimeException
- If the underlying parser throws an error while parsing.void parse(java.lang.String uri) throws java.io.IOException, TVAnytimeException
uri
- The location of the content to be parsed.
java.io.IOException
- If any IO errors occur.
TVAnytimeException
- If the underlying parser throws an error while parsing.void setValidating(boolean validating) throws TVAnytimeException
validating
- Whether the parser should validate.
TVAnytimeException
- if couldn't set property.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |