Examples of XMLProvider


Examples of org.apache.myfaces.trinidadinternal.share.xml.XMLProvider

    NameResolver     resolver,
    String           styleSheetName
    )
  {

    XMLProvider xmlProvider = new JaxpXMLProvider();

    try
    {
      return StyleSheetDocumentUtils.createStyleSheetDocument(xmlProvider,
                                                              resolver,
View Full Code Here

Examples of org.apache.myfaces.trinidadinternal.share.xml.XMLProvider

      return null;

    StyleSheetDocument document = null;

    // Get the XML Provider
    XMLProvider provider = new JaxpXMLProvider();

    try
    {
      document = StyleSheetDocumentUtils.createStyleSheetDocument(
                                                        provider,
View Full Code Here

Examples of org.tuba.data.xml.XMLProvider

    OOApplication ooApplication = new OOApplication();
    IDocument document = ooApplication.loadDocument("test/sample.odt"); //$NON-NLS-1$
    OODocument ooDocument = new OODocument(document, new EclipseFile(
        "test/sample.odt")); //$NON-NLS-1$

    XMLProvider provider = new XMLProvider(
        "org.some.provider", "some.artefact"); //$NON-NLS-1$//$NON-NLS-2$
    XMLReference reference = new XMLReference(provider);
    XMLArtefact artefact = ReferenceManager.getInstance().generateArtefact(
        ooDocument, reference);
    Assert.assertNotNull(artefact);
View Full Code Here

Examples of org.tuba.data.xml.XMLProvider

    artefact.setContext("test/"); //$NON-NLS-1$
    return artefact;
  }

  private XMLReference createReference() {
    XMLProvider provider = new XMLProvider(
        "providerID", "artefactID"); //$NON-NLS-1$//$NON-NLS-2$
    return new XMLReference(provider);
  }
View Full Code Here

Examples of org.tuba.data.xml.XMLProvider

      throws IntegrationException {
    boolean hasChanged = false;
    PluginManager pluginManager = PluginManager.getInstance();
    List<XMLArtefactOperation> operations = reference.getOperations();
   
    XMLProvider xmlProvider = reference.getProvider();
    if (xmlProvider == null) {
      // TODO externalize
      String message = "there is no provider"; //$NON-NLS-1$
      showError(message);
      throw new MissingProviderException();
    }
    String id = xmlProvider.getId();
    MetaProvider provider = pluginManager.getProvider(id);
    if (provider == null) {
      // TODO externalize
      String message = "can't insantiate provider '" + id + "'"; //$NON-NLS-1$ //$NON-NLS-2$
      showError(message);
View Full Code Here

Examples of org.tuba.data.xml.XMLProvider

    for (ArtefactLocation location : artefactLocations) {
      String providerID = location.getProviderID();
      String artefactID = location.getArtefactID();
      if (providerID == null || artefactID == null)
        continue;
      XMLProvider provider = new XMLProvider(providerID,
          artefactID);
      XMLReference reference = new XMLReference(provider);
      IntegrationDialog dialog = new IntegrationDialog(PlatformUI
          .getWorkbench().getActiveWorkbenchWindow().getShell(),
          document);
View Full Code Here

Examples of org.tuba.data.xml.XMLProvider

    for (ArtefactLocation location : artefactLocations) {
      String providerID = location.getProviderID();
      String artefactID = location.getArtefactID();
      if (providerID == null || artefactID == null)
        continue;
      XMLProvider provider = new XMLProvider(providerID, artefactID);
      XMLReference reference = new XMLReference(provider);
//      IntegrationDialog dialog = new IntegrationDialog();


//      for (MetaArtefactOperation operation : dialog.getOperations()) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.