net.ranides.assira.xml
Class XMLQuery
java.lang.Object
net.ranides.assira.xml.XMLQuery
public final class XMLQuery
- extends Object
- Author:
- ranides
|
Method Summary |
static String |
attr(Document doc,
String xPathQuery,
String attribName)
|
static String |
attr(Node node,
String attribName)
|
static void |
attr(Node node,
String name,
int value)
|
static void |
attr(Node node,
String name,
long value)
|
static void |
attr(Node node,
String name,
Object value)
|
static void |
attr(Node node,
String name,
String value)
|
static Collection<Node> |
collection(Document doc,
String xquery)
|
static int |
count(Node node,
NodeType type)
|
static int |
count(Node node,
String tagname)
|
static boolean |
exists(Document doc,
String xquery)
|
static boolean |
exists(Node node,
short type)
|
static boolean |
exists(Node node,
String tagname)
|
static List<Node> |
filter(Node node,
NodeType type)
|
static List<Node> |
filter(Node node,
String tagname)
|
static boolean |
has(Document doc,
String xPathQuery,
String attribName)
|
static boolean |
has(Node node,
String attribName)
|
static NodeList |
list(Document doc,
String xquery)
|
static Node |
node(Document doc,
String xquery)
|
static Node |
node(Node node,
String tagname)
|
list
public static NodeList list(Document doc,
String xquery)
throws XMLQueryException
- Throws:
XMLQueryException
collection
public static Collection<Node> collection(Document doc,
String xquery)
throws XMLQueryException
- Throws:
XMLQueryException
node
public static Node node(Document doc,
String xquery)
throws XMLQueryException
- Throws:
XMLQueryException
attr
public static String attr(Node node,
String attribName)
throws XMLQueryException
- Throws:
XMLQueryException
has
public static boolean has(Node node,
String attribName)
attr
public static String attr(Document doc,
String xPathQuery,
String attribName)
throws XMLQueryException
- Throws:
XMLQueryException
has
public static boolean has(Document doc,
String xPathQuery,
String attribName)
throws XMLQueryException
- Throws:
XMLQueryException
attr
public static void attr(Node node,
String name,
String value)
attr
public static void attr(Node node,
String name,
int value)
attr
public static void attr(Node node,
String name,
long value)
attr
public static void attr(Node node,
String name,
Object value)
filter
public static List<Node> filter(Node node,
String tagname)
node
public static Node node(Node node,
String tagname)
filter
public static List<Node> filter(Node node,
NodeType type)
count
public static int count(Node node,
String tagname)
count
public static int count(Node node,
NodeType type)
exists
public static boolean exists(Document doc,
String xquery)
exists
public static boolean exists(Node node,
String tagname)
exists
public static boolean exists(Node node,
short type)
Copyright © 2013. All Rights Reserved.