|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dlese.dpc.schemedit.display.CollapseUtils
public class CollapseUtils
Maintains the state of collapsible nodes in the metadata Editor. States are OPENED and CLOSED, and the default is controlled by setDefaultState.
Constructor Summary | |
---|---|
CollapseUtils()
|
Method Summary | |
---|---|
static String |
decodeId(String s)
|
static String |
encodeId(String s)
|
static String |
idToPath(String id)
Converts an ID like that generated by org.dlese.dpc.schemedit.SchemEditUtils#pathToId to an xpath that will
identify the xml element associated with the id. |
static String |
pairToId(String paramName,
String fieldLabel)
Converts a paramName and fieldLabel to an ID that can be used in javascript. |
static String |
pathToId(String s)
Converts an xpath to an ID that can be used in javascript. |
protected void |
prtln(String s)
Description of the Method |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CollapseUtils()
Method Detail |
---|
public static String pairToId(String paramName, String fieldLabel)
paramName
- Identifier used in metadata editor jsp (e.g.,
ValueOf(/itemRecord/general))fieldLabel
- MetadataVocab Field label that identifies a field
grouping within a list of controlled vocab values
public static String idToPath(String id)
org.dlese.dpc.schemedit.SchemEditUtils#pathToId
to an xpath that will
identify the xml element associated with the id.
id
- Description of the Parameter
public static String encodeId(String s)
public static String decodeId(String s)
public static String pathToId(String s)
org.dlese.dpc.schemedit.SchemEditUtils#idToPath
s
- An xpath or a paramName containing an xpath (e.g.,
ValueOf(/itemRecord/general))
protected final void prtln(String s)
s
- Description of the Parameter
|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |