congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
JAXRConstants$Namespace.getUriString
Code IndexAdd Tabnine to your IDE (free)

How to use
getUriString
method
in
org.jboss.as.jaxr.extension.JAXRConstants$Namespace

Best Java code snippets using org.jboss.as.jaxr.extension.JAXRConstants$Namespace.getUriString (Showing top 2 results out of 315)

origin: wildfly/wildfly

@Override
public void writeContent(XMLExtendedStreamWriter writer, SubsystemMarshallingContext context) throws XMLStreamException {
  context.startSubsystemElement(Namespace.CURRENT.getUriString(), false);
  ModelNode node = context.getModelNode();
  // write connection-factory
  writer.writeStartElement(Element.CONNECTION_FACTORY.getLocalName());
  JAXRSubsystemRootResource.CONNECTION_FACTORY_ATTRIBUTE.marshallAsAttribute(node, writer);
  JAXRSubsystemRootResource.CONNECTION_FACTORY_IMPL_ATTRIBUTE.marshallAsAttribute(node, writer);
  writer.writeEndElement();
  ModelNode properties = node.get(ModelDescriptionConstants.PROPERTY);
  if (properties.isDefined()) {
    writer.writeStartElement(Element.PROPERTIES.getLocalName());
    for (String key : properties.keys()) {
      writer.writeStartElement(Element.PROPERTY.getLocalName());
      writer.writeAttribute(Attribute.NAME.getLocalName(), key);
      JAXRPropertyDefinition.VALUE.marshallAsAttribute(properties.get(key), writer);
      writer.writeEndElement();
    }
    writer.writeEndElement();
  }
  writer.writeEndElement();
}
origin: wildfly/wildfly

  @Override
  protected void initializeLegacyParsers(ExtensionParsingContext context) {
    context.setSubsystemXmlMapping(SUBSYSTEM_NAME, Namespace.JAXR_1_1.getUriString(), JAXRSubsystemParser::new);
    context.setSubsystemXmlMapping(SUBSYSTEM_NAME, Namespace.JAXR_1_0.getUriString(), JAXRSubsystemParser::new);
  }
}
org.jboss.as.jaxr.extensionJAXRConstants$NamespacegetUriString

Popular methods of JAXRConstants$Namespace

  • forUri

Popular in Java

  • Running tasks concurrently on multiple threads
  • putExtra (Intent)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • runOnUiThread (Activity)
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • JCheckBox (javax.swing)
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Top Sublime Text plugins
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