Class BranchImpl

Object
com.liferay.portal.xml.NodeImpl
com.liferay.portal.xml.BranchImpl
All Implemented Interfaces:
com.liferay.portal.kernel.xml.Branch, com.liferay.portal.kernel.xml.Node, Serializable
Direct Known Subclasses:
DocumentImpl, ElementImpl

public class BranchImpl extends NodeImpl implements com.liferay.portal.kernel.xml.Branch
Author:
Brian Wing Shun Chan
See Also:
  • Constructor Details

    • BranchImpl

      public BranchImpl(org.dom4j.Branch branch)
  • Method Details

    • add

      public void add(com.liferay.portal.kernel.xml.Comment comment)
      Specified by:
      add in interface com.liferay.portal.kernel.xml.Branch
    • add

      public void add(com.liferay.portal.kernel.xml.Element element)
      Specified by:
      add in interface com.liferay.portal.kernel.xml.Branch
    • add

      public void add(com.liferay.portal.kernel.xml.Node node)
      Specified by:
      add in interface com.liferay.portal.kernel.xml.Branch
    • add

      public void add(com.liferay.portal.kernel.xml.ProcessingInstruction processingInstruction)
      Specified by:
      add in interface com.liferay.portal.kernel.xml.Branch
    • addElement

      public com.liferay.portal.kernel.xml.Element addElement(com.liferay.portal.kernel.xml.QName qName)
      Specified by:
      addElement in interface com.liferay.portal.kernel.xml.Branch
    • addElement

      public com.liferay.portal.kernel.xml.Element addElement(String name)
      Specified by:
      addElement in interface com.liferay.portal.kernel.xml.Branch
    • addElement

      public com.liferay.portal.kernel.xml.Element addElement(String qualifiedName, String namespaceURI)
      Specified by:
      addElement in interface com.liferay.portal.kernel.xml.Branch
    • appendContent

      public void appendContent(com.liferay.portal.kernel.xml.Branch branch)
      Specified by:
      appendContent in interface com.liferay.portal.kernel.xml.Branch
    • clearContent

      public void clearContent()
      Specified by:
      clearContent in interface com.liferay.portal.kernel.xml.Branch
    • content

      public List<com.liferay.portal.kernel.xml.Node> content()
      Specified by:
      content in interface com.liferay.portal.kernel.xml.Branch
    • elementByID

      public com.liferay.portal.kernel.xml.Element elementByID(String elementID)
      Specified by:
      elementByID in interface com.liferay.portal.kernel.xml.Branch
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class NodeImpl
    • getWrappedBranch

      public org.dom4j.Branch getWrappedBranch()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class NodeImpl
    • indexOf

      public int indexOf(com.liferay.portal.kernel.xml.Node node)
      Specified by:
      indexOf in interface com.liferay.portal.kernel.xml.Branch
    • node

      public com.liferay.portal.kernel.xml.Node node(int index)
      Specified by:
      node in interface com.liferay.portal.kernel.xml.Branch
    • nodeCount

      public int nodeCount()
      Specified by:
      nodeCount in interface com.liferay.portal.kernel.xml.Branch
    • nodeIterator

      public Iterator<com.liferay.portal.kernel.xml.Node> nodeIterator()
      Specified by:
      nodeIterator in interface com.liferay.portal.kernel.xml.Branch
    • normalize

      public void normalize()
      Specified by:
      normalize in interface com.liferay.portal.kernel.xml.Branch
    • processingInstruction

      public com.liferay.portal.kernel.xml.ProcessingInstruction processingInstruction(String target)
      Specified by:
      processingInstruction in interface com.liferay.portal.kernel.xml.Branch
    • processingInstructions

      public List<com.liferay.portal.kernel.xml.ProcessingInstruction> processingInstructions()
      Specified by:
      processingInstructions in interface com.liferay.portal.kernel.xml.Branch
    • processingInstructions

      public List<com.liferay.portal.kernel.xml.ProcessingInstruction> processingInstructions(String target)
      Specified by:
      processingInstructions in interface com.liferay.portal.kernel.xml.Branch
    • remove

      public boolean remove(com.liferay.portal.kernel.xml.Comment comment)
      Specified by:
      remove in interface com.liferay.portal.kernel.xml.Branch
    • remove

      public boolean remove(com.liferay.portal.kernel.xml.Element element)
      Specified by:
      remove in interface com.liferay.portal.kernel.xml.Branch
    • remove

      public boolean remove(com.liferay.portal.kernel.xml.Node node)
      Specified by:
      remove in interface com.liferay.portal.kernel.xml.Branch
    • remove

      public boolean remove(com.liferay.portal.kernel.xml.ProcessingInstruction processingInstruction)
      Specified by:
      remove in interface com.liferay.portal.kernel.xml.Branch
    • removeProcessingInstruction

      public boolean removeProcessingInstruction(String target)
      Specified by:
      removeProcessingInstruction in interface com.liferay.portal.kernel.xml.Branch
    • setContent

      public void setContent(List<com.liferay.portal.kernel.xml.Node> content)
      Specified by:
      setContent in interface com.liferay.portal.kernel.xml.Branch
    • setProcessingInstructions

      public void setProcessingInstructions(List<com.liferay.portal.kernel.xml.ProcessingInstruction> processingInstructions)
      Specified by:
      setProcessingInstructions in interface com.liferay.portal.kernel.xml.Branch
    • toString

      public String toString()
      Overrides:
      toString in class NodeImpl