public abstract class AbstractMessageLogger extends java.lang.Object implements MessageLogger
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
CLOSE_ROOT_NODE
Closing string for every XML document.
|
static java.lang.String |
ENCODING_ISO_8859_1
ISO-8859-1 encoding string.
|
static java.lang.String |
ENCODING_UTF8
UTF-8 encoding string.
|
protected static java.lang.String |
INFO_TYPE
Fixed info_type value for all messages: refers to DTD.
|
static java.lang.String |
PROD_URL
Logging URL when in production mode.
|
static java.lang.String |
QA_URL
Logging URL for QA testing.
|
Modifier | Constructor and Description |
---|---|
protected |
AbstractMessageLogger(java.lang.String encoding)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getCloseXml()
Returns the closing root node string.
|
protected java.lang.String |
getOpenXml()
Returns the opening XML string including the XML version and the root node,
without the doc type.
|
protected java.lang.String |
getOpenXmlSchemaType()
Returns the opening XML string including the XML version, doc type and the root node.
|
public static final java.lang.String ENCODING_UTF8
public static final java.lang.String ENCODING_ISO_8859_1
protected static final java.lang.String CLOSE_ROOT_NODE
public static final java.lang.String PROD_URL
public static final java.lang.String QA_URL
protected static final java.lang.String INFO_TYPE
protected AbstractMessageLogger(java.lang.String encoding)
encoding
- the encoding to be indicated at the top of the XMLprotected java.lang.String getOpenXmlSchemaType()
protected java.lang.String getOpenXml()
protected java.lang.String getCloseXml()
Copyright (c) 2015 - Pittsburgh Science of Learning Center