org.apache.axiom.om.impl.common
Class OMElementImplUtil

java.lang.Object
  extended by org.apache.axiom.om.impl.common.OMElementImplUtil

public class OMElementImplUtil
extends java.lang.Object

Utility class with default implementations for some of the methods defined by the OMElement interface.


Method Summary
static void discard(IElement that)
           
static javax.xml.namespace.NamespaceContext getNamespaceContext(OMElement element, boolean detached)
           
static java.lang.String getText(OMElement element)
           
static java.io.Reader getTextAsStream(OMElement element, boolean cache)
           
static void writeTextTo(OMElement element, java.io.Writer out, boolean cache)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getNamespaceContext

public static javax.xml.namespace.NamespaceContext getNamespaceContext(OMElement element,
                                                                       boolean detached)

getText

public static java.lang.String getText(OMElement element)

getTextAsStream

public static java.io.Reader getTextAsStream(OMElement element,
                                             boolean cache)

writeTextTo

public static void writeTextTo(OMElement element,
                               java.io.Writer out,
                               boolean cache)
                        throws java.io.IOException
Throws:
java.io.IOException

discard

public static void discard(IElement that)


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.