/** * Returns the name of the node that this represents. This is * an immutable property and should not change for any node. * This provides the name without the name space part. * * @return returns the name of the node that this represents */ public String getName() { return node.getName(); }
/** * Returns the name of the node that this represents. This is * an immutable property and should not change for any node. * This provides the name without the name space part. * * @return returns the name of the node that this represents */ public String getName() { return node.getName(); }
/** * Returns the name of the node that this represents. This is * an immutable property and should not change for any node. * This provides the name without the name space part. * * @return returns the name of the node that this represents */ public String getName() { return node.getName(); }
/** * This is used to determine the name of the node specified. The * name of the node is determined to be the name of the element * if that element is converts to a valid StAX start element. * * @param node this is the StAX node to acquire the name from * @param name this is the name of the node to check against * * @return true if the specified node has the given local name */ private boolean isName(EventNode node, String name) { String local = node.getName(); if(local == null) { return false; } return local.equals(name); }
/** * This is used to determine the name of the node specified. The * name of the node is determined to be the name of the element * if that element is converts to a valid StAX start element. * * @param node this is the StAX node to acquire the name from * @param name this is the name of the node to check against * * @return true if the specified node has the given local name */ private boolean isName(EventNode node, String name) { String local = node.getName(); if(local == null) { return false; } return local.equals(name); }
/** * This is used to determine the name of the node specified. The * name of the node is determined to be the name of the element * if that element is converts to a valid StAX start element. * * @param node this is the StAX node to acquire the name from * @param name this is the name of the node to check against * * @return true if the specified node has the given local name */ private boolean isName(EventNode node, String name) { String local = node.getName(); if(local == null) { return false; } return local.equals(name); }