Package org.tuba.data.xml

Examples of org.tuba.data.xml.ReferenceManager


    logger.severe(e.getMessage());
  }

  private void process(IArtefactPosition position,
      DetailProgressMonitor monitor) throws ParseException {
    ReferenceManager refManager = ReferenceManager.getInstance();
    XMLArtefact artefact = refManager.parseArtefact(position);

    artefact.setContext(position.getTutorialDocument());
    XMLReference reference = refManager.getReference(artefact);

    try {
      // TODO externalize
      logger.info("prepare integration"); //$NON-NLS-1$
      boolean hasChanged = prepareIntegration(reference);
      if (hasChanged)
        refManager.saveReference(reference, artefact);
    } catch (MissingProviderException e) {
      return;
    } catch (IntegrationException e) {
      return;
    }
View Full Code Here

TOP

Related Classes of org.tuba.data.xml.ReferenceManager

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.