Constructor and Description |
---|
DefaultDocument()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addBundle(Bundle bundle)
Adds bundle to document.
|
Bundle |
createBundle()
Creates new bundle and adds it to document.
|
java.util.List<Bundle> |
getBundles()
Returns bundles in document.
|
Bundle |
getDefaultBundle()
Helper method.
|
int |
getUniqueNodeId()
Useful for node IDs generation.
|
public int getUniqueNodeId()
Document
getUniqueNodeId
in interface Document
public void addBundle(Bundle bundle)
public Bundle createBundle()
createBundle
in interface Document
public java.util.List<Bundle> getBundles()
getBundles
in interface Document
public Bundle getDefaultBundle()
getDefaultBundle
in interface Document