public class ContentDef extends Object
Constructor and Description |
---|
ContentDef(String contentType,
ObjectNode schema,
EncodingDef valueEncoding,
Map<String,EncodingDef> propertyEncodings)
Creates a new ContentDef instance.
|
Modifier and Type | Method and Description |
---|---|
String |
getContentType()
Returns the content type.
|
Map<String,EncodingDef> |
getPropertyEncodings()
Returns the content object property encodings.
|
ObjectNode |
getSchema()
Returns the content schema.
|
EncodingDef |
getValueEncoding()
Returns the content value encoding.
|
boolean |
isExploded()
Returns if the content is serialized in exploded form.
|
String |
toString() |
public ContentDef(String contentType, ObjectNode schema, EncodingDef valueEncoding, Map<String,EncodingDef> propertyEncodings)
public String getContentType()
public ObjectNode getSchema()
public boolean isExploded()
public EncodingDef getValueEncoding()
public Map<String,EncodingDef> getPropertyEncodings()
Copyright © 2024 The Cornutum Project. All rights reserved.