Package com.xmlcalabash.documents
Class DocumentProperties
-
- All Implemented Interfaces:
public final class DocumentProperties
-
-
Field Summary
Fields Modifier and Type Field Description private final URI
baseURI
private final MediaType
contentType
private final MediaClassification
contentClassification
-
Constructor Summary
Constructors Constructor Description DocumentProperties(DocumentProperties docprop)
DocumentProperties(Map<QName, XdmValue> docprop)
DocumentProperties()
-
Method Summary
Modifier and Type Method Description final URI
getBaseURI()
final MediaType
getContentType()
final MediaClassification
getContentClassification()
final Boolean
isEmpty()
final Boolean
isNotEmpty()
final Unit
set(QName name, XdmValue value)
final Unit
set(QName name, MediaType newType)
final Unit
set(QName name, URI uri)
final Unit
set(QName name, String value)
final Unit
set(QName name, Boolean value)
final Unit
setAll(DocumentProperties newProperties)
final Unit
setAll(Map<QName, XdmValue> newProperties)
final XdmValue
get(QName name)
final MediaType
getMediaType(QName name)
final XdmMap
getSerialization()
final Unit
setSerialization(XdmMap props)
final URI
getUri(QName name)
final String
getString(QName name)
final Map<QName, XdmValue>
asMap()
final Boolean
has(QName QName)
final Unit
remove(QName name)
-
-
Constructor Detail
-
DocumentProperties
DocumentProperties(DocumentProperties docprop)
-
DocumentProperties
DocumentProperties(Map<QName, XdmValue> docprop)
-
DocumentProperties
DocumentProperties()
-
-
Method Detail
-
getBaseURI
final URI getBaseURI()
-
getContentType
final MediaType getContentType()
-
getContentClassification
final MediaClassification getContentClassification()
-
isNotEmpty
final Boolean isNotEmpty()
-
setAll
final Unit setAll(DocumentProperties newProperties)
-
get
final XdmValue get(QName name)
-
getMediaType
final MediaType getMediaType(QName name)
-
getSerialization
final XdmMap getSerialization()
-
setSerialization
final Unit setSerialization(XdmMap props)
-
-
-
-