public abstract class Component extends Object
Constructor and Description |
---|
Component() |
Modifier and Type | Method and Description |
---|---|
protected static Component |
getComponentByElement(OdfElement element)
Get the component instance by the element instance.
|
abstract OdfElement |
getOdfElement()
Return the instance of OdfElement which presents this structure.
|
Document |
getOwnerDocument()
Get the owner document of this component
|
protected static void |
registerComponent(Component component,
OdfElement element)
Register component to the map repository
|
protected static void |
unregisterComponent(OdfElement element)
Unregister component from the map repository
|
public abstract OdfElement getOdfElement()
protected static void registerComponent(Component component, OdfElement element)
component
- the component to be registered.element
- the instance of OdfElement which presents this component.Document.getComponentMap()
protected static void unregisterComponent(OdfElement element)
element
- the instance of OdfElement which presents this component.Document.getComponentMap()
protected static Component getComponentByElement(OdfElement element)
element
- the instance of OdfElement which presents this component.public Document getOwnerDocument()
Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.