public class TagPathUtils
extends java.lang.Object
Constructor and Description |
---|
TagPathUtils() |
Modifier and Type | Method and Description |
---|---|
static ArrayIndex |
getArrayIndex(TagPath path)
Returns the array index contained in the tag, or null if it's not an array path.
|
static TagPath |
getNonArrayPath(TagPath path)
Given a path, returns a version that does not include array subset information.
|
static boolean |
isArrayPath(TagPath path) |
static java.lang.String |
sanitizeName(java.lang.String tagName)
This function removes any characters from a tag name that might cause problems as part of a full path.
|
public static TagPath getNonArrayPath(TagPath path)
public static boolean isArrayPath(TagPath path)
public static ArrayIndex getArrayIndex(TagPath path)
path
- public static java.lang.String sanitizeName(java.lang.String tagName)
tagName
-