|
Protégé-OWL 3.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XMLWriter
User: matthewhorridge
The Univeristy Of Manchester
Medical Informatics Group
Date: Mar 22, 2005
Method Summary | |
---|---|
void |
endDocument()
Causes all open elements, including the document root element, to be closed. |
String |
getDefaultNamespace()
Gets the default namespace that the rdfwriter uses. |
XMLWriterNamespaceManager |
getNamespacePrefixes()
Gets the rdfwriter's namespace manager. |
String |
getXMLBase()
|
void |
setEncoding(String encoding)
Sets the encoding for the document that the rdfwriter produces. |
void |
setWrapAttributes(boolean b)
Causes the current element's attributes to be wrapped in the output. |
void |
startDocument(String rootElementName)
Starts writing the document. |
void |
writeAttribute(String attr,
String val)
Writes an attribute of the last element to be started (that has not been closed). |
void |
writeEndElement()
Writes the closing tag of the last element to be started. |
void |
writeStartElement(String name)
Writes the start of an element |
void |
writeTextContent(String text)
Writes a text element |
Method Detail |
---|
void setEncoding(String encoding)
encoding
- The encoding.String getDefaultNamespace()
XMLWriterNamespaceManager getNamespacePrefixes()
String getXMLBase()
void setWrapAttributes(boolean b)
void startDocument(String rootElementName) throws IOException
rootElementName
- The name of the root element.
IOException
void endDocument() throws IOException
IOException
void writeStartElement(String name) throws IOException
name
- The tag name of the element to be written.
IOException
void writeEndElement() throws IOException
IOException
void writeAttribute(String attr, String val) throws IOException
attr
- The name of the attributeval
- The value of the attribute
IOException
void writeTextContent(String text) throws IOException
text
- The text to be written
IOException
|
Protégé-OWL 3.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |