org.fcrepo.client.utility.validate.types
Class DsCompositeModelDoc
java.lang.Object
org.fcrepo.client.utility.validate.types.DsCompositeModelDoc
public class DsCompositeModelDoc
- extends Object
Parses the DS-COMPOSITE-MODEL XML document, and presents the contents in a
way that is compatible with ContentModelInfo.
- Author:
- Jim Blake
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DsCompositeModelDoc
public DsCompositeModelDoc(String pid,
byte[] bytes)
throws InvalidContentModelException
- Parse the datastream XML.
- Parameters:
pid - used in error messages.bytes - from the datastream of the content model.
- Throws:
InvalidContentModelException
getTypeModels
public Set<ContentModelInfo.DsTypeModel> getTypeModels()
- Get the type models of the content model.
Copyright © 2012 DuraSpace. All Rights Reserved.