W3CDOMStreamWriter.writeNamespace
Code IndexAdd Codota to your IDE (free)

Best code snippets using org.apache.cxf.staxutils.W3CDOMStreamWriter.writeNamespace(Showing top 15 results out of 315)

  • Common ways to obtain W3CDOMStreamWriter
private void myMethod () {
W3CDOMStreamWriter w =
  • new W3CDOMStreamWriter()
  • Smart code suggestions by Codota
}
origin: org.apache.cxf/cxf-core

public void writeStartElement(String prefix, String local, String namespace) throws XMLStreamException {
  if (prefix == null || prefix.equals("")) {
    writeStartElement(namespace, local);
  } else {
    createAndAddElement(prefix, local, namespace);
    if (nsRepairing
      && !prefix.equals(getNamespaceContext().getPrefix(namespace))) {
      writeNamespace(prefix, namespace);
    }
  }
}
origin: org.apache.cxf/cxf-api

public void writeAttribute(String prefix, String namespace, String local, String value)
  throws XMLStreamException {
  if (prefix.length() > 0) {
    local = prefix + ":" + local;
  }
  
  Attr a = document.createAttributeNS(namespace, local);
  a.setValue(value);
  ((Element)currentNode).setAttributeNodeNS(a);
  if (nsRepairing
    && !prefix.equals(getNamespaceContext().getPrefix(namespace))) {
    writeNamespace(prefix, namespace);
  }
}
origin: org.apache.cxf/cxf-common-utilities

public void writeStartElement(String prefix, String local, String namespace) throws XMLStreamException {
  if (prefix == null || prefix.equals("")) {
    writeStartElement(namespace, local);
  } else {
    newChild(document.createElementNS(namespace, prefix + ":" + local));
    if (nsRepairing
      && !prefix.equals(getNamespaceContext().getPrefix(namespace))) {
      writeNamespace(prefix, namespace);
    }
  }
}
origin: org.apache.cxf/cxf-api

public void writeStartElement(String prefix, String local, String namespace) throws XMLStreamException {
  if (prefix == null || prefix.equals("")) {
    writeStartElement(namespace, local);
  } else {
    createAndAddElement(prefix, local, namespace);
    if (nsRepairing
      && !prefix.equals(getNamespaceContext().getPrefix(namespace))) {
      writeNamespace(prefix, namespace);
    }
  }
}

origin: org.apache.cxf/cxf-core

public void writeStartElement(String prefix, String local, String namespace) throws XMLStreamException {
  if (prefix == null || prefix.equals("")) {
    writeStartElement(namespace, local);
  } else {
    createAndAddElement(prefix, local, namespace);
    if (nsRepairing
      && !prefix.equals(getNamespaceContext().getPrefix(namespace))) {
      writeNamespace(prefix, namespace);
    }
  }
}
origin: apache/cxf

public void writeStartElement(String prefix, String local, String namespace) throws XMLStreamException {
  if (prefix == null || prefix.equals("")) {
    writeStartElement(namespace, local);
  } else {
    createAndAddElement(prefix, local, namespace);
    if (nsRepairing
      && !prefix.equals(getNamespaceContext().getPrefix(namespace))) {
      writeNamespace(prefix, namespace);
    }
  }
}
origin: org.apache.cxf/cxf-bundle

public void writeStartElement(String prefix, String local, String namespace) throws XMLStreamException {
  if (prefix == null || prefix.equals("")) {
    writeStartElement(namespace, local);
  } else {
    createAndAddElement(prefix, local, namespace);
    if (nsRepairing
      && !prefix.equals(getNamespaceContext().getPrefix(namespace))) {
      writeNamespace(prefix, namespace);
    }
  }
}

origin: org.apache.cxf/cxf-bundle-minimal

public void writeStartElement(String prefix, String local, String namespace) throws XMLStreamException {
  if (prefix == null || prefix.equals("")) {
    writeStartElement(namespace, local);
  } else {
    createAndAddElement(prefix, local, namespace);
    if (nsRepairing
      && !prefix.equals(getNamespaceContext().getPrefix(namespace))) {
      writeNamespace(prefix, namespace);
    }
  }
}

origin: org.apache.cxf/cxf-bundle-jaxrs

public void writeStartElement(String prefix, String local, String namespace) throws XMLStreamException {
  if (prefix == null || prefix.equals("")) {
    writeStartElement(namespace, local);
  } else {
    createAndAddElement(prefix, local, namespace);
    if (nsRepairing
      && !prefix.equals(getNamespaceContext().getPrefix(namespace))) {
      writeNamespace(prefix, namespace);
    }
  }
}

origin: org.apache.cxf/cxf-core

public void writeAttribute(String prefix, String namespace, String local, String value)
  throws XMLStreamException {
  if (prefix.length() > 0) {
    local = prefix + ":" + local;
  }
  Attr a = document.createAttributeNS(namespace, local);
  a.setValue(value);
  ((Element)currentNode).setAttributeNodeNS(a);
  if (nsRepairing
    && !prefix.equals(getNamespaceContext().getPrefix(namespace))) {
    writeNamespace(prefix, namespace);
  }
}
origin: apache/cxf

public void writeAttribute(String prefix, String namespace, String local, String value)
  throws XMLStreamException {
  if (prefix.length() > 0) {
    local = prefix + ":" + local;
  }
  Attr a = document.createAttributeNS(namespace, local);
  a.setValue(value);
  ((Element)currentNode).setAttributeNodeNS(a);
  if (nsRepairing
    && !prefix.equals(getNamespaceContext().getPrefix(namespace))) {
    writeNamespace(prefix, namespace);
  }
}
origin: org.apache.cxf/cxf-bundle

public void writeAttribute(String prefix, String namespace, String local, String value)
  throws XMLStreamException {
  if (prefix.length() > 0) {
    local = prefix + ":" + local;
  }
  
  Attr a = document.createAttributeNS(namespace, local);
  a.setValue(value);
  ((Element)currentNode).setAttributeNodeNS(a);
  if (nsRepairing
    && !prefix.equals(getNamespaceContext().getPrefix(namespace))) {
    writeNamespace(prefix, namespace);
  }
}
origin: org.apache.cxf/cxf-core

public void writeAttribute(String prefix, String namespace, String local, String value)
  throws XMLStreamException {
  if (prefix.length() > 0) {
    local = prefix + ":" + local;
  }
  Attr a = document.createAttributeNS(namespace, local);
  a.setValue(value);
  ((Element)currentNode).setAttributeNodeNS(a);
  if (nsRepairing
    && !prefix.equals(getNamespaceContext().getPrefix(namespace))) {
    writeNamespace(prefix, namespace);
  }
}
origin: org.apache.cxf/cxf-bundle-jaxrs

public void writeAttribute(String prefix, String namespace, String local, String value)
  throws XMLStreamException {
  if (prefix.length() > 0) {
    local = prefix + ":" + local;
  }
  
  Attr a = document.createAttributeNS(namespace, local);
  a.setValue(value);
  ((Element)currentNode).setAttributeNodeNS(a);
  if (nsRepairing
    && !prefix.equals(getNamespaceContext().getPrefix(namespace))) {
    writeNamespace(prefix, namespace);
  }
}
origin: org.apache.cxf/cxf-common-utilities

public void writeAttribute(String prefix, String namespace, String local, String value)
  throws XMLStreamException {
  if (prefix.length() > 0) {
    local = prefix + ":" + local;
  }
  
  Attr a = document.createAttributeNS(namespace, local);
  a.setValue(value);
  ((Element)currentNode).setAttributeNodeNS(a);
  if (nsRepairing
    && !prefix.equals(getNamespaceContext().getPrefix(namespace))) {
    writeNamespace(prefix, namespace);
  }
}
org.apache.cxf.staxutilsW3CDOMStreamWriterwriteNamespace

Popular methods of W3CDOMStreamWriter

  • <init>
  • getDocument
  • writeEndElement
  • writeStartElement
  • writeCharacters
  • getCurrentNode
  • getCurrentFragment
  • getNamespaceContext
  • newChild
  • setChild
  • writeAttribute
  • writeDefaultNamespace
  • writeAttribute,
  • writeDefaultNamespace,
  • close,
  • createAndAddElement,
  • createElementNS,
  • writeEmptyElement,
  • flush,
  • setNamespaceContext,
  • setNsRepairing

Popular classes and methods

  • getApplicationContext (Context)
  • onCreateOptionsMenu (Activity)
  • getOriginalFilename (MultipartFile)
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • Rectangle (java.awt)
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty

For IntelliJ IDEA,
Android Studio or Eclipse

  • Codota IntelliJ IDEA pluginCodota Android Studio pluginCode IndexSign in
  • EnterpriseFAQAboutContact Us
  • Terms of usePrivacy policyCodeboxFind Usages
Add Codota to your IDE (free)