java.lang.Object
org.xbib.content.xml.XmlXContent
- All Implemented Interfaces:
org.xbib.content.XContent
A XML content implementation using Jackson XML data format.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.xbib.content.XContentBuilderstatic org.xbib.content.XContentBuildercontentBuilder(OutputStream outputStream) static org.xbib.content.XContentBuildercontentBuilder(XmlXParams params) static org.xbib.content.XContentBuildercontentBuilder(XmlXParams params, OutputStream outputStream) org.xbib.content.XContentGeneratorcreateGenerator(OutputStream outputStream) org.xbib.content.XContentGeneratorcreateGenerator(Writer writer) org.xbib.content.XContentParsercreateParser(byte[] data) org.xbib.content.XContentParsercreateParser(byte[] data, int offset, int length) org.xbib.content.XContentParserorg.xbib.content.XContentParsercreateParser(Reader reader) org.xbib.content.XContentParsercreateParser(String content) booleanisXContent(byte[] bytes, int offset, int len) name()static XmlXContentstatic XmlXContentxmlXContent(com.fasterxml.jackson.dataformat.xml.XmlFactory xmlFactory)
-
Constructor Details
-
XmlXContent
public XmlXContent()Public constructor, used byServiceLoader.
-
-
Method Details
-
contentBuilder
- Throws:
IOException
-
contentBuilder
public static org.xbib.content.XContentBuilder contentBuilder(OutputStream outputStream) throws IOException - Throws:
IOException
-
contentBuilder
- Throws:
IOException
-
contentBuilder
public static org.xbib.content.XContentBuilder contentBuilder(XmlXParams params, OutputStream outputStream) throws IOException - Throws:
IOException
-
xmlXContent
-
xmlXContent
-
name
- Specified by:
namein interfaceorg.xbib.content.XContent
-
createGenerator
public org.xbib.content.XContentGenerator createGenerator(OutputStream outputStream) throws IOException - Specified by:
createGeneratorin interfaceorg.xbib.content.XContent- Throws:
IOException
-
createGenerator
- Specified by:
createGeneratorin interfaceorg.xbib.content.XContent- Throws:
IOException
-
createParser
- Specified by:
createParserin interfaceorg.xbib.content.XContent- Throws:
IOException
-
createParser
- Specified by:
createParserin interfaceorg.xbib.content.XContent- Throws:
IOException
-
createParser
- Specified by:
createParserin interfaceorg.xbib.content.XContent- Throws:
IOException
-
createParser
public org.xbib.content.XContentParser createParser(byte[] data, int offset, int length) throws IOException - Specified by:
createParserin interfaceorg.xbib.content.XContent- Throws:
IOException
-
createParser
- Specified by:
createParserin interfaceorg.xbib.content.XContent- Throws:
IOException
-
isXContent
public boolean isXContent(byte[] bytes, int offset, int len) - Specified by:
isXContentin interfaceorg.xbib.content.XContent
-