Interface OMNodeEx

All Superinterfaces:
OMNode, OMSerializable

public interface OMNodeEx extends OMNode
Interface OMNodeEx

Internal Implementation detail. Adding special interface to stop folks from accidently using OMNode. Please use at your own risk. May corrupt the data integrity.

  • Method Details

    • setNextOMSibling

      void setNextOMSibling(OMNode node)
    • setPreviousOMSibling

      void setPreviousOMSibling(OMNode previousSibling)
    • setParent

      void setParent(OMContainer element)
    • setComplete

      void setComplete(boolean state)
    • setType

      void setType(int nodeType) throws OMException
      Throws:
      OMException
    • internalSerialize

      void internalSerialize(XMLStreamWriter writer, boolean cache) throws XMLStreamException
      Serializes the node. Note that this is an internal method that MUST NOT be used outside of Axiom. Please use OMSerializable.serialize(XMLStreamWriter, boolean) instead.
      Parameters:
      writer -
      cache - indicates if caching should be enabled
      Throws:
      XMLStreamException
    • internalSerialize

      void internalSerialize(XMLStreamWriter writer) throws XMLStreamException
      Deprecated.
      This method will be removed in a future version of Axiom. It is only here to maintain backward compatibility with projects using this method despite the fact that it is marked as internal.
      Throws:
      XMLStreamException
    • internalSerializeAndConsume

      void internalSerializeAndConsume(XMLStreamWriter writer) throws XMLStreamException
      Deprecated.
      This method will be removed in a future version of Axiom. It is only here to maintain backward compatibility with projects using this method despite the fact that it is marked as internal.
      Throws:
      XMLStreamException
    • getNextOMSiblingIfAvailable

      OMNode getNextOMSiblingIfAvailable()
      Get the next sibling if it is available. The sibling is available if it is complete or if the builder has started building the node. In the latter case, OMSerializable.isComplete() may return false when called on the sibling. In contrast to OMNode.getNextOMSibling(), this method will never modify the state of the underlying parser.
      Returns:
      the next sibling or null if the node has no next sibling or the builder has not yet started to build the next sibling