|
XBRLAPIA Java API for XBRL |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.xbrlapi.aspects.IDGenerator
public class IDGenerator
Generates semantic IDs based on element content of segment/scenario/typed dimension structures.
| Constructor Summary | |
|---|---|
IDGenerator()
|
|
| Method Summary | |
|---|---|
static String |
getLabel(Element child)
Convenience method to return a unique representation of a single element. |
static String |
getLabel(List<Element> children)
Convenience method to enable a list of elements to be converted into something a bit more readable. |
static String |
getLabel(Text child)
Convenience method to return a unique representation of a single element. |
static String |
getLabelFromMixedNodes(List<Node> children)
Convenience method to enable a list of elements and text nodes to be converted into something a bit more readable. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IDGenerator()
| Method Detail |
|---|
public static String getLabelFromMixedNodes(List<Node> children)
children - The list of elements and text nodes.
public static String getLabel(List<Element> children)
children - The list of elements.
public static String getLabel(Element child)
child - The single element.
public static String getLabel(Text child)
child - The single text node.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||