public class DefaultDocumentContext extends DefaultDocumentMetaNode implements DocumentContext
BASE_RESOURCE_ATTR, DATE_ATTR, INITIAL_STYLE, LOCALIZATION_ATTR, RESOURCE_MANAGER_ATTR, STRICT_STYLE_MODE, STYLE_MATCHER_ATTR, STYLE_RESOLVER_ATTR, TITLE_ATTR| Constructor and Description |
|---|
DefaultDocumentContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
addMetaNode(DocumentMetaNode node) |
void |
closeQuote() |
CSSValue |
getCounterPolicy(java.lang.String name)
Returns the counter policy for this counter.
|
CounterStyle |
getCounterStyle(java.lang.String counterName)
Looks up a global counter style.
|
DocumentMetaNode |
getMetaNode(int index) |
int |
getMetaNodeCount() |
NamespaceCollection |
getNamespaces()
The namespace collection is not available until initialize() has been called
by the input-feed.
|
int |
getQuoteLevel() |
org.pentaho.reporting.libraries.resourceloader.ResourceManager |
getResourceManager() |
CSSValue |
getStringPolicy(java.lang.String name)
Returns the string policy for this named string.
|
void |
initialize()
This method is called once after the input-feed received all the document
meta-data.
|
void |
openQuote() |
void |
removeMetaNode(DocumentMetaNode node) |
void |
setCounterPolicy(java.lang.String name,
CSSValue policy) |
void |
setCounterStyle(java.lang.String counterName,
CounterStyle style)
Defines a global counter style.
|
void |
setStringPolicy(java.lang.String name,
CSSValue policy) |
getMetaAttribute, setMetaAttributeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMetaAttribute, setMetaAttributepublic CSSValue getStringPolicy(java.lang.String name)
DocumentContextgetStringPolicy in interface DocumentContextpublic void setStringPolicy(java.lang.String name,
CSSValue policy)
setStringPolicy in interface DocumentContextpublic CSSValue getCounterPolicy(java.lang.String name)
DocumentContextgetCounterPolicy in interface DocumentContextpublic void setCounterPolicy(java.lang.String name,
CSSValue policy)
setCounterPolicy in interface DocumentContextpublic void addMetaNode(DocumentMetaNode node)
addMetaNode in interface DocumentContextpublic void removeMetaNode(DocumentMetaNode node)
removeMetaNode in interface DocumentContextpublic DocumentMetaNode getMetaNode(int index)
getMetaNode in interface DocumentContextpublic int getMetaNodeCount()
getMetaNodeCount in interface DocumentContextpublic org.pentaho.reporting.libraries.resourceloader.ResourceManager getResourceManager()
getResourceManager in interface DocumentContextpublic void setCounterStyle(java.lang.String counterName,
CounterStyle style)
DocumentContextsetCounterStyle in interface DocumentContextpublic CounterStyle getCounterStyle(java.lang.String counterName)
DocumentContextgetCounterStyle in interface DocumentContextcounterName - the name of the counter, for which we search the style.public void initialize()
initialize in interface DocumentContextpublic NamespaceCollection getNamespaces()
DocumentContextgetNamespaces in interface DocumentContextpublic int getQuoteLevel()
public void openQuote()
public void closeQuote()