public interface Document
Modifier and Type | Method and Description |
---|---|
void |
addBundle(Bundle bundle)
Adds bundle to the document.
|
Bundle |
createBundle()
Creates new bundle and adds it to the document.
|
java.util.List<Bundle> |
getBundles() |
Bundle |
getDefaultBundle()
Convenient method to return first bundle.
|
int |
getUniqueNodeId()
Useful for node IDs generation.
|
int getUniqueNodeId()
void addBundle(Bundle bundle)
bundle
- bundle to addBundle createBundle()
java.util.List<Bundle> getBundles()
Bundle getDefaultBundle()