|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.chemistry.opencmis.server.impl.atompub.XMLDocumentBase
public abstract class XMLDocumentBase
Base class for XML documents.
| Field Summary | |
|---|---|
static String |
PREFIX_APP
|
static String |
PREFIX_ATOM
|
static String |
PREFIX_CMIS
|
static String |
PREFIX_RESTATOM
|
static String |
PREFIX_XSI
|
| Constructor Summary | |
|---|---|
XMLDocumentBase()
|
|
| Method Summary | |
|---|---|
void |
endDocument()
Finishes the document. |
XMLStreamWriter |
getWriter()
Returns the writer object. |
void |
setNamespaces()
Sets the namespaces for the document. |
protected void |
setWriter(XMLStreamWriter writer)
Sets the writer object. |
void |
startDocument(OutputStream out)
Starts the document and sets the namespaces. |
void |
writeNamespace(String namespaceUri)
Writes the namespace declaration of the given URI to the current tag. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String PREFIX_ATOM
public static final String PREFIX_CMIS
public static final String PREFIX_RESTATOM
public static final String PREFIX_APP
public static final String PREFIX_XSI
| Constructor Detail |
|---|
public XMLDocumentBase()
| Method Detail |
|---|
public void setNamespaces()
throws XMLStreamException
XMLStreamException
public void writeNamespace(String namespaceUri)
throws XMLStreamException
XMLStreamException
public void startDocument(OutputStream out)
throws XMLStreamException
XMLStreamException
public void endDocument()
throws XMLStreamException
XMLStreamExceptionpublic XMLStreamWriter getWriter()
protected void setWriter(XMLStreamWriter writer)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||