Tabnine Logo
OMDataSource
Code IndexAdd Tabnine to your IDE (free)

How to use
OMDataSource
in
org.apache.axiom.om

Best Java code snippets using org.apache.axiom.om.OMDataSource (Showing top 20 results out of 315)

origin: org.apache.ws.commons.axiom/om-aspects

protected void serializePushOMDataSource(OMDataSource dataSource) throws OutputException {
  try {
    dataSource.serialize(writer);
  } catch (XMLStreamException ex) {
    // We cannot really differentiate between exceptions thrown by the XMLStreamWriter
    // and exceptions thrown by the data source itself. We wrap all XMLStreamExceptions
    // as OutputExceptions.
    throw new StAXOutputException(ex);
  }
}
origin: org.apache.ws.commons.axiom/axiom-impl

XMLStreamReader reader = dataSource.getReader();
DataHandlerReader dataHandlerReader = XMLStreamReaderUtils.getDataHandlerReader(reader);
int depth = 0;
origin: org.apache.ws.commons.axiom/om-aspects

XMLStreamReader reader = dataSource.getReader();
DataHandlerReader dataHandlerReader = XMLStreamReaderUtils.getDataHandlerReader(reader);
int depth = 0;
origin: org.apache.ws.commons.axiom/axiom-impl

protected void serializePushOMDataSource(OMDataSource dataSource) throws OutputException {
  try {
    dataSource.serialize(writer);
  } catch (XMLStreamException ex) {
    // We cannot really differentiate between exceptions thrown by the XMLStreamWriter
    // and exceptions thrown by the data source itself. We wrap all XMLStreamExceptions
    // as OutputExceptions.
    throw new StAXOutputException(ex);
  }
}
origin: org.apache.ws.commons.axiom/axiom-impl

XMLStreamReader reader = ds.getReader();
while (reader.next() != START_ELEMENT) {
origin: net.exogeni.orca.core/shirako

 localProperty[i].getOMDataSource(
      new javax.xml.namespace.QName("","property"),
      factory).serialize(xmlWriter);
} else {
origin: org.apache.ws.commons.axiom/om-aspects

XMLStreamReader reader = ds.getReader();
while (reader.next() != START_ELEMENT) {
origin: org.apache.ws.commons.axiom/axiom-impl

protected void serializePushOMDataSource(OMDataSource dataSource) throws OutputException {
  try {
    XMLStreamWriter writer = new ContentHandlerXMLStreamWriter(helper, contentHandler, lexicalHandler, nsContext);
    if (startDocumentWritten) {
      dataSource.serialize(writer);
    } else {
      contentHandler.startDocument();
      dataSource.serialize(writer);
      contentHandler.endDocument();
    }
  } catch (SAXException ex) {
    throw new SAXOutputException(ex);
  } catch (SAXExceptionWrapper ex) {
    throw new SAXOutputException((SAXException)ex.getCause());
  } catch (XMLStreamException ex) {
    throw new SAXOutputException(new SAXException(ex));
  }
}
origin: net.exogeni.orca.core/shirako

 localPlistNode[i].getOMDataSource(
      new javax.xml.namespace.QName("","plistNode"),
      factory).serialize(xmlWriter);
} else {
origin: org.apache.ws.commons.axiom/om-aspects

protected void serializePushOMDataSource(OMDataSource dataSource) throws OutputException {
  try {
    XMLStreamWriter writer = new ContentHandlerXMLStreamWriter(helper, contentHandler, lexicalHandler, nsContext);
    if (startDocumentWritten) {
      dataSource.serialize(writer);
    } else {
      contentHandler.startDocument();
      dataSource.serialize(writer);
      contentHandler.endDocument();
    }
  } catch (SAXException ex) {
    throw new SAXOutputException(ex);
  } catch (SAXExceptionWrapper ex) {
    throw new SAXOutputException((SAXException)ex.getCause());
  } catch (XMLStreamException ex) {
    throw new SAXOutputException(new SAXException(ex));
  }
}
origin: net.exogeni.orca.core/shirako

    factory).serialize(xmlWriter);
} if (localConfigurationPropertiesTracker){
  if (localConfigurationProperties==null){
    factory).serialize(xmlWriter);
} if (localResourcePropertiesTracker){
  if (localResourceProperties==null){
    factory).serialize(xmlWriter);
origin: net.exogeni.orca.core/shirako

factory).serialize(xmlWriter);
origin: net.exogeni.orca.core/shirako

factory).serialize(xmlWriter);
factory).serialize(xmlWriter);
origin: net.exogeni.orca.core/shirako

factory).serialize(xmlWriter);
origin: net.exogeni.orca.core/shirako

factory).serialize(xmlWriter);
origin: net.exogeni.orca.core/shirako

factory).serialize(xmlWriter);
origin: net.exogeni.orca.core/shirako

factory).serialize(xmlWriter);
origin: net.exogeni.orca.core/shirako

factory).serialize(xmlWriter);
origin: net.exogeni.orca.core/shirako

factory).serialize(xmlWriter);
origin: net.exogeni.orca.core/shirako

factory).serialize(xmlWriter);
org.apache.axiom.omOMDataSource

Javadoc

Interface to arbitrary source of XML element data. This provides the hook for using a general data source (such as data binding frameworks) as the backing source of data for an element.

Most used methods

  • serialize
    Serializes element data directly to StAX writer. The implementation of this method must satisfy the
  • getReader
    Get parser for element data. In the general case this may require the data source to serialize data

Popular in Java

  • Running tasks concurrently on multiple threads
  • setRequestProperty (URLConnection)
  • getSharedPreferences (Context)
  • getSupportFragmentManager (FragmentActivity)
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • Socket (java.net)
    Provides a client-side TCP socket.
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • StringTokenizer (java.util)
    Breaks a string into tokens; new code should probably use String#split.> // Legacy code: StringTo
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • 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