|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectfedora.server.storage.types.Datastream
fedora.server.storage.types.DatastreamXMLMetadata
Title: DatastreamXMLMetadata.java
Description:
-----------------------------------------------------------------------------License and Copyright: The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/.
Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.
The entire file consists of original code. Copyright © 2002-2005 by The Rector and Visitors of the University of Virginia and Cornell University. All rights reserved.
-----------------------------------------------------------------------------
| Field Summary | |
static int |
DESCRIPTIVE
Descriptive XML metadata |
static int |
DIGIPROV
Digital provenance XML metadata |
int |
DSMDClass
The class of XML metadata (TECHNICAL, SOURCE, RIGHTS, DIGIPROV, or DESCRIPTIVE) |
static int |
RIGHTS
Rights XML metatdata |
static int |
SOURCE
Source XML metatdata |
static int |
TECHNICAL
Technical XML metadata |
byte[] |
xmlContent
|
| Fields inherited from class fedora.server.storage.types.Datastream |
DatastreamAltIDs, DatastreamID, DSControlGrp, DSCreateDT, DSFormatURI, DSInfoType, DSLabel, DSLocation, DSLocationType, DSMIME, DSSize, DSState, DSVersionable, DSVersionID, isNew |
| Constructor Summary | |
DatastreamXMLMetadata()
|
|
DatastreamXMLMetadata(java.lang.String encoding)
|
|
| Method Summary | |
java.io.InputStream |
getContentStream()
|
java.io.InputStream |
getContentStreamAsDocument()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int TECHNICAL
public static final int SOURCE
public static final int RIGHTS
public static final int DIGIPROV
public static final int DESCRIPTIVE
public byte[] xmlContent
public int DSMDClass
| Constructor Detail |
public DatastreamXMLMetadata()
public DatastreamXMLMetadata(java.lang.String encoding)
| Method Detail |
public java.io.InputStream getContentStream()
getContentStream in class Datastream
public java.io.InputStream getContentStreamAsDocument()
throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||