Tabnine Logo
Environment.getDocument
Code IndexAdd Tabnine to your IDE (free)

How to use
getDocument
method
in
org.apache.muse.core.Environment

Best Java code snippets using org.apache.muse.core.Environment.getDocument (Showing top 6 results out of 315)

origin: org.n52.amused/amused-core

Document importDoc = environment.getDocument(nextPath);
origin: org.n52.amused/amused-core

Document wsdl = environment.getDocument(wsdlPath);
origin: org.n52.amused/amused-core

Document includeDoc = environment.getDocument(nextPath);
Element nextSchema = XmlUtils.getFirstElement(includeDoc);
XmlUtils.moveSubTree(nextSchema, finalSchema, includes[n]);
origin: org.n52.amused/amused-core

DeploymentDescriptor dd = createDeploymentDescriptor();
Document ddXML = env.getDocument(DescriptorConstants.DESCRIPTOR_FILE_NAME);
dd.load(ddXML, env);
origin: org.n52.amused/amused-wsrf-impl

Document rmdDoc = env.getDocument(path);
origin: org.n52.amused/amused-wsdm-muws-adv-impl

  protected void subscribeInitialConsumer()
    throws SoapFault
  {
    String fileName = getInitializationParameter(_CONSUMER_EPR_PARAM);
    
    //
    // pre-existing consumer is optional - other consumers can 
    // still subscribe using WS-N
    //
    if (fileName != null)
    {
      Environment env = getResource().getEnvironment();
      Document eprDoc = env.getDocument(fileName);
      Element eprXML = XmlUtils.getFirstElement(eprDoc);
      
      EndpointReference epr = new EndpointReference(eprXML);
      
      NotificationProducer wsn = 
        (NotificationProducer)getResource().getCapability(WsnConstants.PRODUCER_URI);
      
      wsn.subscribe(epr, new TopicFilter(MuwsConstants.ADV_ME_CREATION_TOPIC), null, null);
      wsn.subscribe(epr, new TopicFilter(MuwsConstants.ADV_ME_DESTRUCTION_TOPIC), null, null);
    }
  }
}
org.apache.muse.coreEnvironmentgetDocument

Javadoc

This is a convenience method that loads an InputStream using getDataResourceStream() and turns it into a DOM Document.

Popular methods of Environment

  • createRelativePath
    Merges the two paths to create a valid version of the second path. This method should be used when y
  • getAddressingContext
  • getClassLoader
  • getRealDirectory
  • addAddressingContext
    Records the WS-Addressing data for the current request.
  • getDefaultURI
  • getDeploymentEPR
  • getSoapClient
  • removeAddressingContext
    Removes the context object for the current request.

Popular in Java

  • Creating JSON documents from java classes using gson
  • scheduleAtFixedRate (Timer)
  • setScale (BigDecimal)
  • onRequestPermissionsResult (Fragment)
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now