You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ws.apache.org by ve...@apache.org on 2016/05/07 17:31:41 UTC
svn commit: r1742736 -
/webservices/axiom/trunk/axiom-api/src/main/java/org/apache/axiom/om/OMElement.java
Author: veithen
Date: Sat May 7 17:31:40 2016
New Revision: 1742736
URL: http://svn.apache.org/viewvc?rev=1742736&view=rev
Log:
Remove unnecessary declarations.
Modified:
webservices/axiom/trunk/axiom-api/src/main/java/org/apache/axiom/om/OMElement.java
Modified: webservices/axiom/trunk/axiom-api/src/main/java/org/apache/axiom/om/OMElement.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/axiom-api/src/main/java/org/apache/axiom/om/OMElement.java?rev=1742736&r1=1742735&r2=1742736&view=diff
==============================================================================
--- webservices/axiom/trunk/axiom-api/src/main/java/org/apache/axiom/om/OMElement.java (original)
+++ webservices/axiom/trunk/axiom-api/src/main/java/org/apache/axiom/om/OMElement.java Sat May 7 17:31:40 2016
@@ -28,7 +28,6 @@ import org.apache.axiom.om.util.StAXPars
import org.apache.axiom.om.xpath.AXIOMXPath;
import java.io.IOException;
-import java.io.OutputStream;
import java.io.Reader;
import java.io.Writer;
import java.util.Iterator;
@@ -587,135 +586,6 @@ public interface OMElement extends OMNod
int getLineNumber();
/**
- * Serialize the node with caching enabled.
- * <p>
- * This method will always serialize the infoset as plain XML. In particular, any {@link OMText}
- * containing optimized binary will be inlined using base64 encoding.
- *
- * @param output
- * the byte stream to write the serialized infoset to
- * @throws XMLStreamException
- */
- // Note: This method is inherited from both OMNode and OMContainer, but it is deprecated in
- // OMNode. We redeclare it here to make sure that people don't get a deprecation
- // warning when using the method on an OMElement.
- void serialize(OutputStream output) throws XMLStreamException;
-
- /**
- * Serialize the node with caching enabled.
- * <p>
- * This method will always serialize the infoset as plain XML. In particular, any {@link OMText}
- * containing optimized binary will be inlined using base64 encoding.
- *
- * @param writer
- * the character stream to write the serialized infoset to
- * @throws XMLStreamException
- */
- // Note: This method is inherited from both OMNode and OMContainer, but it is deprecated in
- // OMNode. We redeclare it here to make sure that people don't get a deprecation
- // warning when using the method on an OMElement.
- void serialize(Writer writer) throws XMLStreamException;
-
- /**
- * Serialize the node with caching enabled.
- * <p>
- * The format of the output is controlled by the provided {@link OMOutputFormat} object. In
- * particular, {@link OMOutputFormat#setDoOptimize(boolean)} can be used to instruct this method
- * to produce an XOP/MTOM encoded MIME message.
- *
- * @param output
- * the byte stream to write the serialized infoset to
- * @param format
- * the output format to use
- * @throws XMLStreamException
- */
- // Note: This method is inherited from both OMNode and OMContainer, but it is deprecated in
- // OMNode. We redeclare it here to make sure that people don't get a deprecation
- // warning when using the method on an OMElement.
- void serialize(OutputStream output, OMOutputFormat format)
- throws XMLStreamException;
-
- /**
- * Serialize the node with caching enabled.
- *
- * @param writer
- * the character stream to write the serialized infoset to
- * @param format
- * the output format to use
- * @throws XMLStreamException
- */
- // Note: This method is inherited from both OMNode and OMContainer, but it is deprecated in
- // OMNode. We redeclare it here to make sure that people don't get a deprecation
- // warning when using the method on an OMElement.
- void serialize(Writer writer, OMOutputFormat format)
- throws XMLStreamException;
-
- /**
- * Serialize the node without caching.
- * <p>
- * This method will always serialize the infoset as plain XML. In particular, any {@link OMText}
- * containing optimized binary will be inlined using base64 encoding.
- *
- * @param output
- * the byte stream to write the serialized infoset to
- * @throws XMLStreamException
- */
- // Note: This method is inherited from both OMNode and OMContainer, but it is deprecated in
- // OMNode. We redeclare it here to make sure that people don't get a deprecation
- // warning when using the method on an OMElement.
- void serializeAndConsume(OutputStream output)
- throws XMLStreamException;
-
- /**
- * Serialize the node without caching.
- * <p>
- * This method will always serialize the infoset as plain XML. In particular, any {@link OMText}
- * containing optimized binary will be inlined using base64 encoding.
- *
- * @param writer
- * the character stream to write the serialized infoset to
- * @throws XMLStreamException
- */
- // Note: This method is inherited from both OMNode and OMContainer, but it is deprecated in
- // OMNode. We redeclare it here to make sure that people don't get a deprecation
- // warning when using the method on an OMElement.
- void serializeAndConsume(Writer writer) throws XMLStreamException;
-
- /**
- * Serialize the node without caching.
- * <p>
- * The format of the output is controlled by the provided {@link OMOutputFormat} object. In
- * particular, {@link OMOutputFormat#setDoOptimize(boolean)} can be used to instruct this method
- * to produce an XOP/MTOM encoded MIME message.
- *
- * @param output
- * the byte stream to write the serialized infoset to
- * @param format
- * the output format to use
- * @throws XMLStreamException
- */
- // Note: This method is inherited from both OMNode and OMContainer, but it is deprecated in
- // OMNode. We redeclare it here to make sure that people don't get a deprecation
- // warning when using the method on an OMElement.
- void serializeAndConsume(OutputStream output, OMOutputFormat format)
- throws XMLStreamException;
-
- /**
- * Serialize the node without caching.
- *
- * @param writer
- * the character stream to write the serialized infoset to
- * @param format
- * the output format to use
- * @throws XMLStreamException
- */
- // Note: This method is inherited from both OMNode and OMContainer, but it is deprecated in
- // OMNode. We redeclare it here to make sure that people don't get a deprecation
- // warning when using the method on an OMElement.
- void serializeAndConsume(Writer writer, OMOutputFormat format)
- throws XMLStreamException;
-
- /**
* {@inheritDoc}
*/
Iterator<OMNode> getDescendants(boolean includeSelf);