public class Profile
extends org.gesis.commons.xml.jaxb.JaxbDocument
| Modifier and Type | Field and Description |
|---|---|
static String |
MEDIATYPE |
static String |
SCHEMALOCATION_FILENAME |
| Constructor and Description |
|---|
Profile() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static void |
generateSchema(File file) |
List<Constraint> |
getConstraints() |
String |
getName() |
List<PrefixMap> |
getPrefixMap() |
String |
getVersion() |
int |
hashCode() |
static Profile |
open(File file) |
static Profile |
read(InputStream inputStream) |
static Profile |
read(String string) |
void |
saveAs(File file) |
void |
setConstraints(List<Constraint> constraints) |
void |
setName(String name) |
void |
setPrefixMap(List<PrefixMap> prefixMap) |
void |
setVersion(String version) |
String |
toString() |
void |
write(OutputStream outputStream) |
public static final String MEDIATYPE
public static final String SCHEMALOCATION_FILENAME
public String getName()
public void setName(String name)
public String getVersion()
public void setVersion(String version)
public List<Constraint> getConstraints()
public void setConstraints(List<Constraint> constraints)
public static Profile read(InputStream inputStream)
public static Profile open(File file) throws NoSuchFileException
NoSuchFileExceptionpublic static void generateSchema(File file)
public void write(OutputStream outputStream)
write in class org.gesis.commons.xml.jaxb.JaxbDocumentpublic void saveAs(File file)
saveAs in class org.gesis.commons.xml.jaxb.JaxbDocumentpublic String toString()
toString in class org.gesis.commons.xml.jaxb.JaxbDocumentpublic boolean equals(Object o)
equals in class org.gesis.commons.xml.jaxb.JaxbDocumentpublic int hashCode()
hashCode in class org.gesis.commons.xml.jaxb.JaxbDocumentCopyright © 2025 CESSDA ERIC. All rights reserved.