|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use MCRContent | |
|---|---|
| org.mycore.datamodel.ifs2 | |
| Uses of MCRContent in org.mycore.datamodel.ifs2 |
|---|
| Methods in org.mycore.datamodel.ifs2 that return MCRContent | |
|---|---|
MCRContent |
MCRContent.ensureXML()
Ensures that content is XML |
MCRContent |
MCRNode.getContent()
Returns the content of this node for output. |
MCRContent |
MCRStoredMetadata.getMetadata()
Returns the stored XML document |
MCRContent[] |
MCRContent.makeCopies(int numCopies)
Makes copies of the content, consuming this content |
static MCRContent |
MCRContent.readFrom(byte[] bytes)
Creates content from byte[] arrray |
static MCRContent |
MCRContent.readFrom(Document xml)
Creates content from XML document. |
static MCRContent |
MCRContent.readFrom(File file)
Creates content from a local file |
static MCRContent |
MCRContent.readFrom(org.apache.commons.vfs.FileObject fo)
Creates content from Apache VFS file object |
static MCRContent |
MCRContent.readFrom(InputStream in)
Creates new content from input stream |
static MCRContent |
MCRContent.readFrom(String text)
Creates content from a String, using UTF-8 encoding |
static MCRContent |
MCRContent.readFrom(String text,
String encoding)
Creates content from a String, using the given encoding |
static MCRContent |
MCRContent.readFrom(URL url)
Creates new content reading from the given URL. |
MCRContent |
MCRMetadataVersion.retrieve()
Retrieves this version of the metadata |
| Methods in org.mycore.datamodel.ifs2 with parameters of type MCRContent | |
|---|---|
(package private) void |
MCRVersionedMetadata.create(MCRContent xml)
Stores a new metadata object first in the SVN repository, then additionally in the local store. |
(package private) void |
MCRStoredMetadata.create(MCRContent xml)
Creates a new local file to save XML to |
MCRVersionedMetadata |
MCRVersioningMetadataStore.create(MCRContent xml)
|
MCRStoredMetadata |
MCRMetadataStore.create(MCRContent xml)
Stores a newly created document, using the next free ID. |
MCRVersionedMetadata |
MCRVersioningMetadataStore.create(MCRContent xml,
int id)
|
MCRStoredMetadata |
MCRMetadataStore.create(MCRContent xml,
int id)
Stores a newly created document under the given ID. |
String |
MCRFile.setContent(MCRContent source)
Sets the content of this file. |
void |
MCRVersionedMetadata.update(MCRContent xml)
Updates this metadata object, first in the SVN repository and then in the local store |
void |
MCRStoredMetadata.update(MCRContent xml)
Updates the stored XML document |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||