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

How to use
getLocalName
method
in
org.jboss.as.jaxr.extension.JAXRConstants$Element

Best Java code snippets using org.jboss.as.jaxr.extension.JAXRConstants$Element.getLocalName (Showing top 1 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();
}
org.jboss.as.jaxr.extensionJAXRConstants$ElementgetLocalName

Popular methods of JAXRConstants$Element

  • forName

Popular in Java

  • Reactive rest calls using spring rest template
  • notifyDataSetChanged (ArrayAdapter)
  • compareTo (BigDecimal)
  • getApplicationContext (Context)
  • Kernel (java.awt.image)
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • JOptionPane (javax.swing)
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • Top 12 Jupyter Notebook extensions
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