< prev index next >

src/java.xml.ws/share/classes/com/sun/xml/internal/messaging/saaj/soap/impl/ElementImpl.java

Print this page




1703         return soapDocument.findIfPresent(element.getFirstChild());
1704     }
1705 
1706     @Override
1707     public Node getLastChild() {
1708         return soapDocument.findIfPresent(element.getLastChild());
1709     }
1710 
1711     @Override
1712     public Node getPreviousSibling() {
1713         return soapDocument.findIfPresent(element.getPreviousSibling());
1714     }
1715 
1716     @Override
1717     public Node getNextSibling() {
1718         return soapDocument.findIfPresent(element.getNextSibling());
1719     }
1720 
1721     @Override
1722     public NamedNodeMap getAttributes() {
1723         return new NamedNodeMapImpl(element.getAttributes(), soapDocument);




1724     }
1725 
1726     public Element getDomElement() {
1727         return element;
1728     }
1729 
1730     public SOAPDocumentImpl getSoapDocument() {
1731         return soapDocument;
1732     }
1733 }


1703         return soapDocument.findIfPresent(element.getFirstChild());
1704     }
1705 
1706     @Override
1707     public Node getLastChild() {
1708         return soapDocument.findIfPresent(element.getLastChild());
1709     }
1710 
1711     @Override
1712     public Node getPreviousSibling() {
1713         return soapDocument.findIfPresent(element.getPreviousSibling());
1714     }
1715 
1716     @Override
1717     public Node getNextSibling() {
1718         return soapDocument.findIfPresent(element.getNextSibling());
1719     }
1720 
1721     @Override
1722     public NamedNodeMap getAttributes() {
1723         NamedNodeMap attributes = element.getAttributes();
1724         if (attributes == null) {
1725             return null;
1726         }
1727         return new NamedNodeMapImpl(attributes, soapDocument);
1728     }
1729 
1730     public Element getDomElement() {
1731         return element;
1732     }
1733 
1734     public SOAPDocumentImpl getSoapDocument() {
1735         return soapDocument;
1736     }
1737 }
< prev index next >