Class TagPathUtils
- java.lang.Object
-
- com.inductiveautomation.ignition.common.TagPathUtils
-
public class TagPathUtils extends java.lang.ObjectCreated by colby.clegg on 7/14/2015.
-
-
Constructor Summary
Constructors Constructor Description TagPathUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static TagPathdowngrade(TagPath path)Deprecated.static java.util.List<TagPath>downgrade(java.util.List<TagPath> paths)Deprecated.static ArrayIndexgetArrayIndex(TagPath path)Returns the array index contained in the tag, or null if it's not an array path.static TagPathgetNonArrayPath(TagPath path)Given a path, returns a version that does not include array subset information.static booleanisArrayPath(TagPath path)static booleanisValueOrNullProp(TagPath path)static java.lang.StringsanitizeName(java.lang.String tagName)This function removes any characters from a tag name that might cause problems as part of a full path.static TagPathupgrade(TagPath path)static java.util.List<TagPath>upgrade(java.util.List<TagPath> paths)static java.util.Set<TagPath>upgrade(java.util.Set<TagPath> paths)static java.util.List<TagPath>upgradeToList(java.util.Collection<TagPath> paths)static Property<?>valuePropIfNull(TagPath path)
-
-
-
Method Detail
-
downgrade
@Deprecated public static java.util.List<TagPath> downgrade(java.util.List<TagPath> paths)
Deprecated.
-
upgradeToList
public static java.util.List<TagPath> upgradeToList(java.util.Collection<TagPath> paths)
-
getNonArrayPath
public static TagPath getNonArrayPath(TagPath path)
Given a path, returns a version that does not include array subset information. Works fine if the source path is not an array path to begin with.
-
isArrayPath
public static boolean isArrayPath(TagPath path)
-
getArrayIndex
public static ArrayIndex getArrayIndex(TagPath path)
Returns the array index contained in the tag, or null if it's not an array path.
-
sanitizeName
public 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.
-
isValueOrNullProp
public static boolean isValueOrNullProp(TagPath path)
-
-