Forge - Parent 1.0.7-SNAPSHOT

org.jboss.forge.parser.xml.util
Class QueryUtil

java.lang.Object
  extended by org.jboss.forge.parser.xml.util.QueryUtil

public final class QueryUtil
extends Object

Helper util for building Query implementations

Author:
ALR

Method Summary
static void validateNodeAndPatterns(Node node, Pattern... patterns)
          Validates input
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

validateNodeAndPatterns

public static void validateNodeAndPatterns(Node node,
                                           Pattern... patterns)
                                    throws IllegalArgumentException
Validates input

Parameters:
node -
patterns -
Throws:
IllegalArgumentException - If the Node is not specified or no Patterns are specified

Forge - Parent 1.0.7-SNAPSHOT

Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.