|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Metadata
Field Summary | |
---|---|
static String |
DEFAULT_NAMESPACE
|
Method Summary | |
---|---|
MetadataNamespaceContext |
createNamespaceContext()
Create a facade which allows a new mapping of namespace prefixes to be used to navigate and query nodes without changing the base document. |
MetadataNode |
getRoot()
|
Metadata |
normalize()
Normalize the meta-data XML. |
Document |
toDocument()
Return the DOM Document representation of the metadata-tree to which this node belongs. |
Result |
toResult()
Return the Result representation of this document. |
Metadata |
toResult(Result out)
Transform this document into the given result. |
Metadata |
toResult(Result out,
String encoding)
Transform this document into the given result. |
Result |
toResult(String encoding)
Return the Result representation of this document using the given
encoding. |
Source |
toSource()
|
String |
toString()
|
String |
toString(String encoding)
|
void |
trimWhitespace()
|
com.levigo.jadice.document.internal.metadata.ValidationResult |
validate(Source... schemas)
Validate this document against specifief schemas |
com.levigo.jadice.document.internal.metadata.ValidationResult |
validate(URL... schemaLocations)
Validate this document against specifief schemas |
Metadata |
writeTo(OutputStream out)
Write this document to a stream |
Metadata |
writeTo(OutputStream out,
String encoding)
Write this document to a stream |
Metadata |
writeTo(Writer out)
Write this document to a stream |
Metadata |
writeTo(Writer out,
String encoding)
Write this document to a stream |
Metadata |
writeTo(XMLEventWriter writer)
Write this document to an XMLEventWriter. |
Methods inherited from interface javax.xml.namespace.NamespaceContext |
---|
getNamespaceURI, getPrefix, getPrefixes |
Field Detail |
---|
static final String DEFAULT_NAMESPACE
Method Detail |
---|
MetadataNode getRoot()
Document toDocument()
Document
representation of the metadata-tree to which this node belongs.
Source toSource()
Source
String toString()
toString
in class Object
String toString(String encoding)
encoding
- destination encoding of XML document
Metadata writeTo(OutputStream out)
out
- The output result
Metadata writeTo(OutputStream out, String encoding)
out
- The output resultencoding
- The new encoding
Metadata writeTo(Writer out)
out
- The output result
Metadata writeTo(Writer out, String encoding)
out
- The output resultencoding
- The new encoding
Metadata writeTo(XMLEventWriter writer) throws XMLStreamException
writer
- destination writer
XMLStreamException
com.levigo.jadice.document.internal.metadata.ValidationResult validate(Source... schemas)
schemas
- A list of schemas
com.levigo.jadice.document.internal.metadata.ValidationResult validate(URL... schemaLocations)
schemaLocations
- A list of schemas
Metadata toResult(Result out)
out
- the output result
Metadata toResult(Result out, String encoding)
out
- the output resultencoding
- the encoding
Result toResult()
Result
representation of this document. Useful when
using web services for example.
Result
Result toResult(String encoding)
Result
representation of this document using the given
encoding. Useful when using web services for example.
Result
Metadata normalize()
Document.normalizeDocument()
void trimWhitespace()
MetadataNamespaceContext createNamespaceContext()
MetadataException
- If the namespace handling has been disabled on this Metadata.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |