|
||||||||||
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. |
javax.xml.stream.XMLStreamWriter |
getWriter()
Returns the writer object. |
void |
setNamespaces()
Sets the namespaces for the document. |
protected void |
setWriter(javax.xml.stream.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 javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
public void writeNamespace(String namespaceUri) throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
public void startDocument(OutputStream out) throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
public void endDocument() throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
public javax.xml.stream.XMLStreamWriter getWriter()
protected void setWriter(javax.xml.stream.XMLStreamWriter writer)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |