public interface XmlParser extends ElementFactory
Modifier and Type | Method and Description |
---|---|
boolean |
addChildNodes(XPathExpression expression,
Collection<Node> nodes) |
void |
close() |
void |
flush() |
Map<String,String> |
getAttributes(XPathExpression elementExpression) |
boolean |
hasMatchingChild(XPathExpression parentExpression,
Node child) |
boolean |
hasNode(XPathExpression expression) |
boolean |
isOpen() |
boolean |
matches(XPathExpression expression,
Node node) |
void |
open() |
boolean |
removeChildNode(XPathExpression parentExpression,
Node child) |
boolean |
removeNode(XPathExpression expression) |
boolean |
replaceNode(XPathExpression expression,
Node replacement) |
createElement, importElement
void open() throws SAXException, IOException
SAXException
IOException
void close() throws TransformerException
TransformerException
void flush() throws TransformerException
TransformerException
boolean isOpen()
boolean addChildNodes(XPathExpression expression, Collection<Node> nodes) throws XPathExpressionException
XPathExpressionException
boolean replaceNode(XPathExpression expression, Node replacement) throws XPathExpressionException
XPathExpressionException
boolean removeNode(XPathExpression expression) throws XPathExpressionException
XPathExpressionException
boolean removeChildNode(XPathExpression parentExpression, Node child) throws XPathExpressionException
XPathExpressionException
boolean hasNode(XPathExpression expression) throws XPathExpressionException
XPathExpressionException
boolean hasMatchingChild(XPathExpression parentExpression, Node child) throws XPathExpressionException
XPathExpressionException
boolean matches(XPathExpression expression, Node node) throws XPathExpressionException
XPathExpressionException
Map<String,String> getAttributes(XPathExpression elementExpression) throws XPathExpressionException
XPathExpressionException
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.