|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--gov.lanl.Utility.DOMDoc2PIDS
Translate XML DOM PIDS Document into TaggedProfiles
| Constructor Summary | |
DOMDoc2PIDS()
Constructor declaration (not used because all methods are static |
|
| Method Summary | |
static org.w3c.dom.Node |
applyXSL(QualifiedTaggedProfile[] qtp,
java.lang.String xslfile,
java.lang.String[] params)
get proper Document translated by xsl stylesheet |
static QualifiedTaggedProfile |
createQualifiedTaggedProfile(org.w3c.dom.Node tx)
create QualifiedTaggedProfile from DOM Tree |
static TaggedProfile |
createTaggedProfile(org.w3c.dom.Node tx)
create TaggedProfile from DOM Tree |
static Trait |
createTrait(org.w3c.dom.Node tx)
create Trait attached with Identity from DOM Tree |
static org.w3c.dom.Node |
getDom(QualifiedTaggedProfile qtp)
translate the QualifiedTaggedProfile into a DOM element |
static java.lang.String |
getXsl()
get the Xsl file for translation |
static void |
main(java.lang.String[] argv)
Main program for converting a PIDS Dom tree |
static void |
setUpperCase(boolean upper)
Set the case handling of the Trait values |
static void |
setXsl(java.lang.String xslfile)
Set the XSL file for translation |
static org.w3c.dom.Document |
toDom(QualifiedTaggedProfile qtp)
Convert to DOM Document |
static QualifiedTaggedProfile[] |
toQualifiedTaggedProfile(org.w3c.dom.Document doc)
create QualifiedTaggedProfile[] from DOM Document |
static java.lang.String |
toString(QualifiedTaggedProfile[] qtp)
Serialize Content to String |
static TaggedProfile[] |
toTaggedProfile(org.w3c.dom.Document doc)
create TaggedProfile[] from DOM Document |
static void |
write(java.lang.String file,
QualifiedTaggedProfile qtp)
Serialize Content to a file as XML |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DOMDoc2PIDS()
| Method Detail |
public static void setUpperCase(boolean upper)
upper - sets the case handling.public static QualifiedTaggedProfile[] toQualifiedTaggedProfile(org.w3c.dom.Document doc)
doc - XML DOM Document to be translated
public static QualifiedTaggedProfile createQualifiedTaggedProfile(org.w3c.dom.Node tx)
tx -
public static TaggedProfile[] toTaggedProfile(org.w3c.dom.Document doc)
doc - XML DOM Document to be translated
public static TaggedProfile createTaggedProfile(org.w3c.dom.Node tx)
tx -
public static Trait createTrait(org.w3c.dom.Node tx)
tx -
public static org.w3c.dom.Node getDom(QualifiedTaggedProfile qtp)
qtp - QualifiedTaggedProfile
public static org.w3c.dom.Document toDom(QualifiedTaggedProfile qtp)
qtp - QualifiedTaggedProfile to be converted
public static void write(java.lang.String file,
QualifiedTaggedProfile qtp)
file - to be serialized toqtp - QualifiedTaggedProfile to be serializedpublic static java.lang.String toString(QualifiedTaggedProfile[] qtp)
qtp - QualifiedTaggedProfile array to be serialized
public static void setXsl(java.lang.String xslfile)
xslfile - public static java.lang.String getXsl()
public static org.w3c.dom.Node applyXSL(QualifiedTaggedProfile[] qtp,
java.lang.String xslfile,
java.lang.String[] params)
qtp - QualifiedTaggedProfile arrayxslfile - containing stylesheetparams - for the stylesheet
public static void main(java.lang.String[] argv)
argv -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||