| Home >> All >> gov >> lanl >> [ Utility Javadoc ] |
| | gov.lanl.Utility.xml.* (2) |
gov.lanl.Utility: Javadoc index of package gov.lanl.Utility.
Package Samples:
gov.lanl.Utility.xml: The Utility package provides various utilities useful for both clients and servers.
Classes:
MIME2Java: MIME2Java is a convenience class which handles conversions between MIME charset names and Java encoding names. The supported XML encodings are the intersection of XML-supported code sets and those supported in JDK 1.1. MIME charset names are used on xmlEncoding parameters to methods such as TXDocument#setEncoding and DTD#setEncoding . Java encoding names are used on encoding parameters to methods such as TXDocument#printWithFormat and DTD#printExternal . Common Name Use this name in XML files Name Type Xerces converts to this Java Encoder Name 8 bit Unicode UTF-8 IANA UTF8 ISO Latin 1 ISO-8859-1 ...
ResourceNameTranslate: This class converts a String representation of a ResourceNameComponent into the appropriate structure and vice versa. This is particularly useful for mapping String names into the RAD space. e.g. Id.10001/field.BACTERIOLOGY maps to a ResourceNameComponent array of two elements. The element before the period is the name_string and the element after the period is the value_string This follows the specification for Stringified NameComponents as specified in the updated NamingService This seems appropriate because the ResourceNameComponent was borrowed from that specification.
DateTime: Provides a date/time class to support the data in the TeleMed server Date and time are saved together as a double, with the integer part the Julian date, and the fractional part the time in hours (24 hour standard) divided by 24, down to seconds. ALWAYS GMT! Thus every time stamp in the TeleMed data base has date and time. The julian conversions are modelled after "Numerical Recipes.." by Press, Teukolsky, Vettering, and Flannery; Cambridge University Press Modified for PIDS time stamp
NameService: NameService utility class It locates and connects to the NameService and enables registration to the Name Service By default it uses NamingContextExt but can be recompiled to use the older NamingContext interface because it provides the extra utility classes internally. Additionally, it allows for connection to an insecure NameService from an SSL application using the locally developed ServiceInterface.
NamedValues: Provides support for extracting fields from a name pair string, such as x509 distinguised/issuer names Eg. "DN= Charlie Smith, email=charlie@abc.com" would build a hash table with (DN,Charlie Smith) and (email, charlie@abc.com) and one could search for the value associated with DN or email.
InfoItem: Provides data from the server to the GUI builder, with a key for the data base so that it can be updated. For example, an InfoItem could represent the last name of a person, with the displayable label, the last name, and which group and subgoup it should be displayed in.
InfoList: Contains a list of InfoItems so that a GUI can display the items with labels, with an editing flag and has the necessary data to submit back to a server. Assumes that group numbers are 0..n, sequential; and within a sub group, that sub group numbers are 0..n, sequentail.
Xml2DomDoc: Xml2DomDoc provides conversion from XML to the org.w3c.dom Document class. The XML may be provided in a constructor, or via a set call; the Document is only provided via a get call, is generated from the current XML and is not retained
DOMTree2Xml: Provides conversion from the DOMTree in a JTree view to Xml. The DOMTree node may be provided in a constructor, or via a set call; the Xml is only provided via a get call, is generated from the current DOMTree
TMDOMWriter: A sample DOM writer. This sample program illustrates how to traverse a DOM tree in order to print a document that is parsed. Modified with the TMDOMWriterOutputInterface and renamed by Jim George, LANL
CorbaHelper: The class CorbaHelper contains useful methods for obtaining references to distributed PIDS and Trader objects. Note split from PidsTraderCorbaHelper.java - tew - 4 Aug 99
PrintableConfigProperties: PrintableConfigProperties builds on ConfigProperties by allowing the system and added properties to be printed on Sysout, or only the properties added by a config file
SQLReader: Simple SQL reader that obtains a result set from an input SQL query and returns it in as list of Strings with comma delimiter between columns (CSV) or in a table form
ObsData2Dom: Provides a class to generate an XML DOM Documentrepresenting an ObservationDataStruct. Recurses the entire ObservationDataStruct, and provides a standard XML header.
ObsData2Xml: Provides a class to generate an XML string representing an ObservationDataStruct. Recurses the entire ObservationDataStruct, and provides a standard XML header.
CSVDB: Class to create persistent CSV database using Persistent Hashtables. Used to track changes in an external database to provide a list of only the changed rows.
DOMTree: Displays a DOM document in a tree control, supports editing for text/cdata types and updates their changes in the associated DOM Document
MaskingThread: Created by IntelliJ IDEA. User: dwf Date: Mar 5, 2003 Time: 10:54:52 PM To change this template use Options | File Templates.
PasswordField: Created by IntelliJ IDEA. User: dwf Date: Mar 5, 2003 Time: 10:58:39 PM To change this template use Options | File Templates.
TMDOMWriterOutputInterface: Defines the interface used by TMDOMWriter to output text; originally it used PrintWriter, and these are the calls it uses.
HL7Tokenizer: Extend StringTokenizer to recognize repeating initial tokens as null data for parsing HL7 strings with "^" as separator
AnyHelper: enables extraction of a string from a Corba any regardless of whether it is a regular string or a wide string
BeanProperties: Class to set/get Bean properties from/to properties sheet Adapted from Apache Jakarta JSP service example
IOHelper: Static class to handle recurring problem of opening a file or resource wherever it may be
ConfigProperties: Extension of Properties class to support command line specification of properties
| Home | Contact Us | Privacy Policy | Terms of Service |