Class XmlWriter
- java.lang.Object
-
- org.apache.felix.bundlerepository.impl.XmlWriter
-
public class XmlWriter extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description XmlWriter
attribute(java.lang.String name, java.lang.Object value)
XmlWriter
element(java.lang.String name)
private static java.lang.String
encode(java.lang.Object o)
XmlWriter
end()
XmlWriter
end(boolean indent)
XmlWriter
indent(int nb)
XmlWriter
newLine()
XmlWriter
text(java.lang.Object value)
XmlWriter
textElement(java.lang.String name, java.lang.Object value)
-
-
-
Method Detail
-
indent
public XmlWriter indent(int nb) throws java.io.IOException
- Throws:
java.io.IOException
-
newLine
public XmlWriter newLine() throws java.io.IOException
- Throws:
java.io.IOException
-
element
public XmlWriter element(java.lang.String name) throws java.io.IOException
- Throws:
java.io.IOException
-
attribute
public XmlWriter attribute(java.lang.String name, java.lang.Object value) throws java.io.IOException
- Throws:
java.io.IOException
-
end
public XmlWriter end() throws java.io.IOException
- Throws:
java.io.IOException
-
end
public XmlWriter end(boolean indent) throws java.io.IOException
- Throws:
java.io.IOException
-
text
public XmlWriter text(java.lang.Object value) throws java.io.IOException
- Throws:
java.io.IOException
-
textElement
public XmlWriter textElement(java.lang.String name, java.lang.Object value) throws java.io.IOException
- Throws:
java.io.IOException
-
encode
private static java.lang.String encode(java.lang.Object o)
-
-