Class TMXMLTopicMapReference

    • Field Detail

      • validate

        protected boolean validate
    • Constructor Detail

      • TMXMLTopicMapReference

        public TMXMLTopicMapReference​(URL url,
                                      String id,
                                      String title)
      • TMXMLTopicMapReference

        public TMXMLTopicMapReference​(URL url,
                                      String id,
                                      String title,
                                      LocatorIF base_address)
    • Method Detail

      • setValidation

        public void setValidation​(boolean validate)
        PUBLIC: Turn validation of TM/XML files according to the RELAX-NG schema on or off. The validation checks if the documents read follow the schema, and will abort import if they do not.
        Parameters:
        validate - Will validate if true, will not if false.
      • getValidation

        public boolean getValidation()
        PUBLIC: Returns true if validation is on, false otherwise.
      • save

        public void save()
                  throws IOException
        INTERNAL: Saves the topic map as an XTM document in the location managed by the reference's source.
        Throws:
        IOException