*/ public static Features unmarshal(Input Stream in,boolean validate) /** * Load the file and produce the intermediate format. * @throws File Not Found Exception If the file does not exist.
*/ public void load(String name) throws File Not Found Exception, Format Exception instance.
This is the public method that will parse an XML file and return the corresponding memory representation. * @return the in-memory representation of the dictionary.
*/ public static Fusion Dictionary read Dictionary Xml(Input Stream unigrams, Input Stream bigrams) throws SAXException, IOException, Parser Configuration Exception /** * Reads a dictionary from an XML file.
*/ static Soy Msg Bundle parse Xliff Target Msgs(String xliff Content) throws SAXException, Soy Msg Exception /** * Cleans the string from tags.
* @param str the string which contain a text with user's tags.
) as defined below has been used in the code examples to validate the input document.The input document contains an extra attribute which has not been defined in the XML Schema, this shows that the XML Schema has been used for the validation.When using this XML Schema to validate the input XML document, the following error gets reported: ) as defined below has been used in the code examples to validate the input document.if at least one of included files has modifications. */ private boolean check File Modifications() throws Exception /** * Reads a dictionary from an XML file. * @throws Parser Configuration Exception if a SAX parser cannotbe created which satisfies the requested configuration.
* @return The string cleaned from user's tags and their bodies. * @param schema True to use schema validation relying on thexsi:schema Location attribute of the document. * @param file The file from which to generate a SAXSource * @param resolver An entity resolver to apply to the file reader.