# Uses of Interface
org.apache.axiom.om.OMText

Packages that use OMText
Package
Description
org.apache.axiom.om
Contains core interfaces of the Axiom API.
org.apache.axiom.om.util

- ## Uses of OMText in org.apache.axiom.om

  Methods in org.apache.axiom.om that return OMText
  Modifier and Type
  Method
  Description
  `OMText`
  OMFactory.`createOMText(String s)`
  `OMText`
  OMFactory.`createOMText(String s, int type)`
  `OMText`
  OMFactory.`createOMText(String s, String mimeType, boolean optimize)`
  Deprecated.
  `OMText`
  OMFactory.`createOMText(String contentID, BlobProvider blobProvider, boolean optimize)`
  Create a binary `OMText` node supporting deferred loading of the content.
  `OMText`
  OMFactory.`createOMText(Blob blob, boolean optimize)`
  `OMText`
  OMFactory.`createOMText(OMContainer parent, char[] charArary, int type)`
  Deprecated.
  `OMText`
  OMFactory.`createOMText(OMContainer parent, String text)`
  Creates a new `OMText` node with the given value and appends it to the given parent element.
  `OMText`
  OMFactory.`createOMText(OMContainer parent, String text, int type)`
  `OMText`
  OMFactory.`createOMText(OMContainer parent, String s, String mimeType, boolean optimize)`
  Deprecated.
  `OMText`
  OMFactory.`createOMText(OMContainer parent, QName text)`
  Deprecated.
  This method is only meaningful if it is used to create a text node that is the single child of an `OMElement`.
  `OMText`
  OMFactory.`createOMText(OMContainer parent, QName text, int type)`
  Deprecated.
  Creating a text node containing a QName and having a type other than `OMNode.TEXT_NODE` is not meaningful.
  `OMText`
  OMFactory.`createOMText(OMContainer parent, OMText source)`
  Create OMText node that is a copy of the source text node
  Methods in org.apache.axiom.om with parameters of type OMText
  Modifier and Type
  Method
  Description
  `OMText`
  OMFactory.`createOMText(OMContainer parent, OMText source)`
  Create OMText node that is a copy of the source text node

- ## Uses of OMText in org.apache.axiom.om.util

  Methods in org.apache.axiom.om.util with parameters of type OMText
  Modifier and Type
  Method
  Description
  `byte[]`
  DigestGenerator.`getDigest(OMText text, String digestAlgorithm)`
  This method is an overloaded method for the digest generation for OMText