|
||||||||||
| 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(org.omg.PersonIdService.QualifiedTaggedProfile[] qtp,
java.lang.String xslfile,
java.lang.String[] params)
get proper Document translated by xsl stylesheet |
static org.omg.PersonIdService.QualifiedTaggedProfile |
createQualifiedTaggedProfile(org.w3c.dom.Node tx)
create QualifiedTaggedProfile from DOM Tree |
static org.omg.PersonIdService.TaggedProfile |
createTaggedProfile(org.w3c.dom.Node tx)
create TaggedProfile from DOM Tree |
static org.omg.PersonIdService.Trait |
createTrait(org.w3c.dom.Node tx)
create Trait attached with Identity from DOM Tree |
static org.w3c.dom.Node |
getDom(org.omg.PersonIdService.QualifiedTaggedProfile qtp)
translate the QualifiedTaggedProfile into a DOM element |
static org.w3c.dom.Node |
getDom(org.omg.PersonIdService.Trait t)
Generate DOM Document from CORBA Trait |
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(org.omg.PersonIdService.QualifiedTaggedProfile qtp)
Convert to DOM Document |
static org.w3c.dom.Document |
toDom(org.omg.PersonIdService.QualifiedTaggedProfile[] qtp)
Convert to DOM Document |
static org.omg.PersonIdService.QualifiedTaggedProfile[] |
toQualifiedTaggedProfile(org.w3c.dom.Document doc)
create QualifiedTaggedProfile[] from DOM Document |
static java.lang.String |
toString(org.omg.PersonIdService.QualifiedTaggedProfile[] qtp)
Serialize Content to String |
static org.omg.PersonIdService.TaggedProfile[] |
toTaggedProfile(org.w3c.dom.Document doc)
create TaggedProfile[] from DOM Document |
static void |
write(java.lang.String file,
org.omg.PersonIdService.QualifiedTaggedProfile qtp)
Serialize Content to a file as XML |
static void |
write(java.lang.String file,
org.omg.PersonIdService.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 org.omg.PersonIdService.QualifiedTaggedProfile[] toQualifiedTaggedProfile(org.w3c.dom.Document doc)
doc - XML DOM Document to be translated
public static org.omg.PersonIdService.QualifiedTaggedProfile createQualifiedTaggedProfile(org.w3c.dom.Node tx)
tx -
public static org.omg.PersonIdService.TaggedProfile[] toTaggedProfile(org.w3c.dom.Document doc)
doc - XML DOM Document to be translated
public static org.omg.PersonIdService.TaggedProfile createTaggedProfile(org.w3c.dom.Node tx)
tx -
public static org.omg.PersonIdService.Trait createTrait(org.w3c.dom.Node tx)
tx -
public static org.w3c.dom.Node getDom(org.omg.PersonIdService.QualifiedTaggedProfile qtp)
qtp - QualifiedTaggedProfile
public static org.w3c.dom.Node getDom(org.omg.PersonIdService.Trait t)
t - is the input Trait to be translatedpublic static org.w3c.dom.Document toDom(org.omg.PersonIdService.QualifiedTaggedProfile qtp)
qtp - QualifiedTaggedProfile to be converted
public static org.w3c.dom.Document toDom(org.omg.PersonIdService.QualifiedTaggedProfile[] qtp)
qtp - QualifiedTaggedProfile array to be converted.
public static void write(java.lang.String file,
org.omg.PersonIdService.QualifiedTaggedProfile qtp)
file - to be serialized toqtp - QualifiedTaggedProfile to be serialized
public static void write(java.lang.String file,
org.omg.PersonIdService.QualifiedTaggedProfile[] qtp)
file - to be serialized toqtp - QualifiedTaggedProfile to be serializedpublic static java.lang.String toString(org.omg.PersonIdService.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(org.omg.PersonIdService.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 | |||||||||