org.odftoolkit.simple.common.field
public abstract class AbstractVariableContainer extends Object implements VariableContainer
Constructor and Description |
---|
AbstractVariableContainer() |
Modifier and Type | Method and Description |
---|---|
VariableField |
declareVariable(String name,
VariableField.VariableType type)
Declare a new variable field to this container.
|
VariableField |
getVariableFieldByName(String name)
Return the declared variable by name.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getVariableContainerElement
public VariableField declareVariable(String name, VariableField.VariableType type)
VariableContainer
declareVariable
in interface VariableContainer
name
- the unique name of this variable field.type
- the type of this variable field.public VariableField getVariableFieldByName(String name)
VariableContainer
getVariableFieldByName
in interface VariableContainer
name
- the unique name of this variable field.Copyright © 2010-2014 The Apache Software Foundation. All Rights Reserved.