Package org.harctoolbox.girr
Class XmlStatic
java.lang.Object
org.harctoolbox.girr.XmlStatic
Static constants and helper functions for XML export. Usage in other contexts not recommended.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
Comment string pointing to Girr docu.static final String
Homepage URL.static final String
Namespace URIstatic final String
URL for schema file, namespace-less version.static final String
Location of schema file (namespace version) in jar.static final String
URL for schema file supporting name spaces.static final String
String of the form major.minor identifying the protocol version (not to be confused with the version of an implementation).static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
-
Method Summary
Modifier and TypeMethodDescription(package private) static Document
createDocument
(String title, Element root) Makes a Document from an Element.(package private) static Schema
parseElementsByLanguage
(NodeList nodeList) static void
setStylesheetType
(String aStylesheetType) static void
setStylesheetUrl
(String aStylesheetUrl)
-
Field Details
-
GIRR_VERSION
String of the form major.minor identifying the protocol version (not to be confused with the version of an implementation). Should be the same as the attribute girrVersion in girr_ns.xsd.- See Also:
-
GIRR_NAMESPACE
Namespace URI- See Also:
-
GIRR_HOMEPAGE
Homepage URL.- See Also:
-
GIRR_SCHEMA_LOCATION_URI
URL for schema file supporting name spaces.- See Also:
-
GIRR_NONAMESPACE_SCHEMA_LOCATION_URI
URL for schema file, namespace-less version.- See Also:
-
GIRR_SCHEMA_LOCATION_JAR
Location of schema file (namespace version) in jar.- See Also:
-
GIRR_COMMENT
Comment string pointing to Girr docu.- See Also:
-
GIRR_VERSION_ATTRIBUTE_NAME
- See Also:
-
TOGGLE_ATTRIBUTE_NAME
- See Also:
-
F_ATTRIBUTE_NAME
- See Also:
-
VALUE_ATTRIBUTE_NAME
- See Also:
-
NAME_ATTRIBUTE_NAME
- See Also:
-
COMMENT_ATTRIBUTE_NAME
- See Also:
-
MASTER_ATTRIBUTE_NAME
- See Also:
-
FREQUENCY_ATTRIBUTE_NAME
- See Also:
-
DUTYCYCLE_ATTRIBUTE_NAME
- See Also:
-
TITLE_ATTRIBUTE_NAME
- See Also:
-
PROTOCOL_ATTRIBUTE_NAME
- See Also:
-
DISPLAYNAME_ATTRIBUTE_NAME
- See Also:
-
MANUFACTURER_ATTRIBUTE_NAME
- See Also:
-
APPLICATION_ATTRIBUTE_NAME
- See Also:
-
MODEL_ATTRIBUTE_NAME
- See Also:
-
DEVICECLASS_ATTRIBUTE_NAME
- See Also:
-
REMOTENAME_ATTRIBUTE_NAME
- See Also:
-
CREATINGUSER_ATTRIBUTE_NAME
- See Also:
-
SOURCE_ATTRIBUTE_NAME
- See Also:
-
CREATIONDATE_ATTRIBUTE_NAME
- See Also:
-
TOOL_ATTRIBUTE_NAME
- See Also:
-
TOOLVERSIION_ATTRIBUTE_NAME
- See Also:
-
TOOL2_ATTRIBUTE_NAME
- See Also:
-
TOOL2VERSION_ATTRIBUTE_NAME
- See Also:
-
PRONTO_HEX_ELEMENT_NAME
- See Also:
-
FLASH_ELEMENT_NAME
- See Also:
-
GAP_ELEMENT_NAME
- See Also:
-
PARAMETER_ELEMENT_NAME
- See Also:
-
NOTES_ELEMENT_NAME
- See Also:
-
PARAMETERS_ELEMENT_NAME
- See Also:
-
PROTOCOL_ELEMENT_NAME
- See Also:
-
RAW_ELEMENT_NAME
- See Also:
-
INTRO_ELEMENT_NAME
- See Also:
-
REPEAT_ELEMENT_NAME
- See Also:
-
ENDING_ELEMENT_NAME
- See Also:
-
FORMAT_ELEMENT_NAME
- See Also:
-
COMMAND_ELEMENT_NAME
- See Also:
-
COMMANDSET_ELEMENT_NAME
- See Also:
-
APPLICATIONDATA_ELEMENT_NAME
- See Also:
-
APPPARAMETER_ELEMENT_NAME
- See Also:
-
REMOTE_ELEMENT_NAME
- See Also:
-
ADMINDATA_ELEMENT_NAME
- See Also:
-
CREATIONDATA_ELEMENT_NAME
- See Also:
-
REMOTES_ELEMENT_NAME
- See Also:
-
SPACE
- See Also:
-
EQUALS
- See Also:
-
-
Method Details
-
setStylesheetType
- Parameters:
aStylesheetType
- the stylesheetType to set
-
setStylesheetUrl
- Parameters:
aStylesheetUrl
- the stylesheetUrl to set
-
createDocument
Makes a Document from an Element.- Parameters:
title
- Text for title attributeroot
- Element to transfer- Returns:
-
parseElementsByLanguage
-
girrSchema
- Throws:
SAXException
-