public class ElementIdHelper extends Object
Constructor and Description |
---|
ElementIdHelper() |
Modifier and Type | Method and Description |
---|---|
static long |
getId(Element e)
Get the element id
|
static boolean |
hasId(Element e)
Is element id set?
|
static void |
setId(Element e,
long id)
Set the element id
|
public static boolean hasId(Element e)
e
- element to inspectpublic static long getId(Element e)
e
- element to inspectpublic static void setId(Element e, long id)
e
- element to adjustid
- Copyright © 2003–2016 Terracotta, Inc.. All rights reserved.