de.init.its.api.process
Class IitsParserConfig

java.lang.Object
  extended by de.init.its.api.process.IitsParserConfig

public final class IitsParserConfig
extends java.lang.Object

Global Its ODT Document Parser and Writer Configuration

Author:
mkandora

Field Summary
static java.lang.String ITS_ELEMENT_NS_PREFIX
          The ITS Attribute Namespace prefix
static java.lang.String ITS_NAMESPACE_URI
          Its namespace uri.
static java.lang.String ODT_CONTENT_XML
          The content.xml of an ODT File
static java.lang.String ODT_DEFAULT_STYLE_FAMILY
          Declares the default style family name
static java.lang.String ODT_DEFAULT_TEXT_STYLE_PREFIX
          Declares the default prefix for new styling ids
static java.lang.String ODT_ELEMENT_BODY
           
static java.lang.String ODT_FILE_BOOKMARK_BEGIN_ELEMENT_NAME
          The ODT File Bookmark start element name
static java.lang.String ODT_FILE_BOOKMARK_BEGIN_ELEMENT_NAME_NS
          The ODT File Bookmark begin element name with namespace
static java.lang.String ODT_FILE_BOOKMARK_ELEMENT_NS_PREFIX
          The ODT File Bookmark namespace prefix FIXME: rename to text element namespace prefix ?
static java.lang.String ODT_FILE_BOOKMARK_END_ELEMENT_NAME
          The ODT File Bookmark end element name
static java.lang.String ODT_FILE_BOOKMARK_END_ELEMENT_NAME_NS
          The ODT File Bookmark end element name with namespace
static java.lang.String ODT_FILE_BOOKMARK_REFERENCING_ATTRIBUTE_NAME
          The internally used text:book-mark element attribute to resolve its data categories managed by id via ItsElementManager
static java.lang.String ODT_FILE_TARGET_ITS_ELEMENT
          Target ODT XML element for use with ITS Datacategory.
static java.lang.String ODT_FILE_TARGET_ITS_ELEMENT_WITH_PREFIX
           
static java.lang.String ODT_STYLE_CONFIGURATION_ELEMENT
          Declares the ODT Style Configuration block
static java.lang.String ODT_STYLE_ELEMENT
          Declares the ODT Style Configuration Element
static java.lang.String ODT_STYLE_ELEMENT_ATTRIBUTE_NAME
          Declares the style name attribute on ODT_STYLE_ELEMENT
static java.lang.String ODT_STYLE_ELEMENT_ATTRIBUTE_STYLE_FAMILY
          Declares the style family attribute name
static java.lang.String ODT_STYLE_ELEMENT_STYLE_ATTRIBUTE_NAME
          Declares the attribute name used by ODT to reference styles
static java.lang.String ODT_STYLE_TEXT_PROPERTY_ELEMENT
          Declares a text style property
static java.lang.Integer READ_UNPROCESSED_ODT_FILE
          This flag will be used to indicate the processing of unprocessed ODT Document Files. eg. no bookmarks have been replaced.
static java.lang.Object XML_DECLARATION
          Default XML declaration
static java.lang.String XML_NAMESPACE_PREFIX
          The XML namesspace prefix for document element nodes.
 
Method Summary
static java.lang.String getNameSpacedAttributed(java.lang.String attribute)
          Convenience method to return an element with a proper namespace for Bookmark processing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ITS_NAMESPACE_URI

public static final java.lang.String ITS_NAMESPACE_URI
Its namespace uri. NOTICE: the namespace will be updated in near future, once its is a recommendation

See Also:
Constant Field Values

ODT_CONTENT_XML

public static final java.lang.String ODT_CONTENT_XML
The content.xml of an ODT File

See Also:
Constant Field Values

ODT_ELEMENT_BODY

public static final java.lang.String ODT_ELEMENT_BODY
See Also:
Constant Field Values

ODT_STYLE_CONFIGURATION_ELEMENT

public static final java.lang.String ODT_STYLE_CONFIGURATION_ELEMENT
Declares the ODT Style Configuration block

See Also:
Constant Field Values

ODT_STYLE_ELEMENT

public static final java.lang.String ODT_STYLE_ELEMENT
Declares the ODT Style Configuration Element

See Also:
Constant Field Values

ODT_STYLE_ELEMENT_ATTRIBUTE_NAME

public static final java.lang.String ODT_STYLE_ELEMENT_ATTRIBUTE_NAME
Declares the style name attribute on ODT_STYLE_ELEMENT

See Also:
Constant Field Values

ODT_STYLE_ELEMENT_STYLE_ATTRIBUTE_NAME

public static final java.lang.String ODT_STYLE_ELEMENT_STYLE_ATTRIBUTE_NAME
Declares the attribute name used by ODT to reference styles

See Also:
Constant Field Values

ODT_STYLE_ELEMENT_ATTRIBUTE_STYLE_FAMILY

public static final java.lang.String ODT_STYLE_ELEMENT_ATTRIBUTE_STYLE_FAMILY
Declares the style family attribute name

See Also:
Constant Field Values

ODT_DEFAULT_STYLE_FAMILY

public static final java.lang.String ODT_DEFAULT_STYLE_FAMILY
Declares the default style family name

See Also:
Constant Field Values

ODT_DEFAULT_TEXT_STYLE_PREFIX

public static final java.lang.String ODT_DEFAULT_TEXT_STYLE_PREFIX
Declares the default prefix for new styling ids

See Also:
Constant Field Values

ODT_STYLE_TEXT_PROPERTY_ELEMENT

public static final java.lang.String ODT_STYLE_TEXT_PROPERTY_ELEMENT
Declares a text style property

See Also:
Constant Field Values

XML_NAMESPACE_PREFIX

public static final java.lang.String XML_NAMESPACE_PREFIX
The XML namesspace prefix for document element nodes. Seems bogus, has been proven applicable in parsing :)

See Also:
Constant Field Values

ODT_FILE_BOOKMARK_BEGIN_ELEMENT_NAME_NS

public static final java.lang.String ODT_FILE_BOOKMARK_BEGIN_ELEMENT_NAME_NS
The ODT File Bookmark begin element name with namespace

See Also:
Constant Field Values

ODT_FILE_BOOKMARK_END_ELEMENT_NAME_NS

public static final java.lang.String ODT_FILE_BOOKMARK_END_ELEMENT_NAME_NS
The ODT File Bookmark end element name with namespace

See Also:
Constant Field Values

ODT_FILE_BOOKMARK_BEGIN_ELEMENT_NAME

public static final java.lang.String ODT_FILE_BOOKMARK_BEGIN_ELEMENT_NAME
The ODT File Bookmark start element name

See Also:
Constant Field Values

ODT_FILE_BOOKMARK_END_ELEMENT_NAME

public static final java.lang.String ODT_FILE_BOOKMARK_END_ELEMENT_NAME
The ODT File Bookmark end element name

See Also:
Constant Field Values

ODT_FILE_BOOKMARK_ELEMENT_NS_PREFIX

public static final java.lang.String ODT_FILE_BOOKMARK_ELEMENT_NS_PREFIX
The ODT File Bookmark namespace prefix FIXME: rename to text element namespace prefix ?

See Also:
Constant Field Values

ITS_ELEMENT_NS_PREFIX

public static final java.lang.String ITS_ELEMENT_NS_PREFIX
The ITS Attribute Namespace prefix

See Also:
Constant Field Values

ODT_FILE_BOOKMARK_REFERENCING_ATTRIBUTE_NAME

public static final java.lang.String ODT_FILE_BOOKMARK_REFERENCING_ATTRIBUTE_NAME
The internally used text:book-mark element attribute to resolve its data categories managed by id via ItsElementManager

See Also:
Constant Field Values

ODT_FILE_TARGET_ITS_ELEMENT

public static final java.lang.String ODT_FILE_TARGET_ITS_ELEMENT
Target ODT XML element for use with ITS Datacategory. This element will be used to add ITS Datacategories

See Also:
Constant Field Values

ODT_FILE_TARGET_ITS_ELEMENT_WITH_PREFIX

public static final java.lang.String ODT_FILE_TARGET_ITS_ELEMENT_WITH_PREFIX
See Also:
Constant Field Values

READ_UNPROCESSED_ODT_FILE

public static final java.lang.Integer READ_UNPROCESSED_ODT_FILE
This flag will be used to indicate the processing of unprocessed ODT Document Files. eg. no bookmarks have been replaced.


XML_DECLARATION

public static final java.lang.Object XML_DECLARATION
Default XML declaration

Method Detail

getNameSpacedAttributed

public static java.lang.String getNameSpacedAttributed(java.lang.String attribute)
Convenience method to return an element with a proper namespace for Bookmark processing

Parameters:
attribute - the attribute name
Returns:
the attribute with namespace constructed in front