congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
JAXRSubsystemParser.parseBinding1_1
Code IndexAdd Tabnine to your IDE (free)

How to use
parseBinding1_1
method
in
org.jboss.as.jaxr.extension.JAXRSubsystemParser

Best Java code snippets using org.jboss.as.jaxr.extension.JAXRSubsystemParser.parseBinding1_1 (Showing top 2 results out of 315)

origin: wildfly/wildfly

private void readElement1_1(XMLExtendedStreamReader reader, List<ModelNode> operations) throws XMLStreamException {
  final PathAddress address = PathAddress.pathAddress(JAXRExtension.SUBSYSTEM_PATH);
  final ModelNode addOp = Util.createAddOperation(address);
  operations.add(addOp);
  List<ModelNode> propertiesOps = null;
  while (reader.hasNext() && reader.nextTag() != END_ELEMENT) {
    switch (Namespace.forUri(reader.getNamespaceURI())) {
      case JAXR_1_1: {
        final Element element = Element.forName(reader.getLocalName());
        switch (element) {
          case CONNECTION_FACTORY: {
            parseBinding1_1(reader, addOp);
            break;
          }
          case PROPERTIES: {
            propertiesOps = parseProperties(reader, address);
            break;
          }
          default:
            throw unexpectedElement(reader);
        }
      }
    }
  }
  if (propertiesOps != null) {
    operations.addAll(propertiesOps);
  }
}
origin: org.jboss.as/jboss-as-jaxr

private void readElement1_1(XMLExtendedStreamReader reader, List<ModelNode> operations) throws XMLStreamException {
  final PathAddress address = PathAddress.pathAddress(JAXRExtension.SUBSYSTEM_PATH);
  final ModelNode addOp = Util.createAddOperation(address);
  operations.add(addOp);
  List<ModelNode> propertiesOps = null;
  while (reader.hasNext() && reader.nextTag() != END_ELEMENT) {
    switch (Namespace.forUri(reader.getNamespaceURI())) {
      case JAXR_1_1: {
        final Element element = Element.forName(reader.getLocalName());
        switch (element) {
          case CONNECTION_FACTORY: {
            parseBinding1_1(reader, addOp);
            break;
          }
          case PROPERTIES: {
            propertiesOps = parseProperties(reader, address);
            break;
          }
          default:
            throw unexpectedElement(reader);
        }
      }
    }
  }
  if (propertiesOps != null) {
    operations.addAll(propertiesOps);
  }
}
org.jboss.as.jaxr.extensionJAXRSubsystemParserparseBinding1_1

Popular methods of JAXRSubsystemParser

  • parseBinding1_0
  • parseJuddiServer
  • parseProperties
  • parseProperty
  • readElement1_0
  • readElement1_1

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • notifyDataSetChanged (ArrayAdapter)
  • getContentResolver (Context)
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Top PhpStorm 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