Class WrappedXMLStreamWriter2
java.lang.Object
org.openprovenance.prov.core.xml.serialization.stax.WrappedXMLStreamWriter2
- All Implemented Interfaces:
XMLStreamWriter,org.codehaus.stax2.typed.TypedXMLStreamWriter,org.codehaus.stax2.validation.Validatable,org.codehaus.stax2.XMLStreamWriter2
- Direct Known Subclasses:
NamespaceXMLStreamWriter2
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidvoidcopyEventFromReader(org.codehaus.stax2.XMLStreamReader2 xmlStreamReader2, boolean b) voidflush()org.codehaus.stax2.XMLStreamLocation2getProperty(String name) booleanvoidvoidsetNamespaceContext(NamespaceContext context) voidbooleansetProperty(String s, Object o) org.codehaus.stax2.validation.ValidationProblemHandlersetValidationProblemHandler(org.codehaus.stax2.validation.ValidationProblemHandler validationProblemHandler) org.codehaus.stax2.validation.XMLValidatorstopValidatingAgainst(org.codehaus.stax2.validation.XMLValidationSchema xmlValidationSchema) org.codehaus.stax2.validation.XMLValidatorstopValidatingAgainst(org.codehaus.stax2.validation.XMLValidator xmlValidator) org.codehaus.stax2.validation.XMLValidatorvalidateAgainst(org.codehaus.stax2.validation.XMLValidationSchema xmlValidationSchema) voidwriteAttribute(String localName, String value) voidwriteAttribute(String namespaceURI, String localName, String value) voidwriteAttribute(String prefix, String namespaceURI, String localName, String value) voidwriteBinary(byte[] bytes, int i, int i1) voidwriteBinary(org.codehaus.stax2.typed.Base64Variant base64Variant, byte[] bytes, int i, int i1) voidwriteBinaryAttribute(String s, String s1, String s2, byte[] bytes) voidwriteBinaryAttribute(org.codehaus.stax2.typed.Base64Variant base64Variant, String s, String s1, String s2, byte[] bytes) voidwriteBoolean(boolean b) voidwriteBooleanAttribute(String s, String s1, String s2, boolean b) voidwriteCData(char[] chars, int i, int i1) voidwriteCData(String data) voidwriteCharacters(char[] text, int start, int len) voidwriteCharacters(String text) voidwriteComment(String data) voidwriteDecimal(BigDecimal bigDecimal) voidwriteDecimalAttribute(String s, String s1, String s2, BigDecimal bigDecimal) voidwriteDefaultNamespace(String namespaceURI) voidwriteDouble(double v) voidwriteDoubleArray(double[] doubles, int i, int i1) voidwriteDoubleArrayAttribute(String s, String s1, String s2, double[] doubles) voidwriteDoubleAttribute(String s, String s1, String s2, double v) voidvoidvoidwriteEmptyElement(String localName) voidwriteEmptyElement(String namespaceURI, String localName) voidwriteEmptyElement(String prefix, String localName, String namespaceURI) voidvoidvoidwriteEntityRef(String name) voidwriteFloat(float v) voidwriteFloatArray(float[] floats, int i, int i1) voidwriteFloatArrayAttribute(String s, String s1, String s2, float[] floats) voidwriteFloatAttribute(String s, String s1, String s2, float v) voidvoidwriteInt(int i) voidwriteIntArray(int[] ints, int i, int i1) voidwriteIntArrayAttribute(String s, String s1, String s2, int[] ints) voidwriteIntAttribute(String s, String s1, String s2, int i) voidwriteInteger(BigInteger bigInteger) voidwriteIntegerAttribute(String s, String s1, String s2, BigInteger bigInteger) voidwriteLong(long l) voidwriteLongArray(long[] longs, int i, int i1) voidwriteLongArrayAttribute(String s, String s1, String s2, long[] longs) voidwriteLongAttribute(String s, String s1, String s2, long l) voidwriteNamespace(String prefix, String namespaceURI) voidwriteProcessingInstruction(String target) voidwriteProcessingInstruction(String target, String data) voidwriteQName(QName qName) voidwriteQNameAttribute(String s, String s1, String s2, QName qName) voidwriteRaw(char[] chars, int i, int i1) voidvoidvoidwriteSpace(char[] chars, int i, int i1) voidwriteSpace(String s) voidvoidwriteStartDocument(String version) voidwriteStartDocument(String encoding, String version) voidwriteStartDocument(String s, String s1, boolean b) voidwriteStartElement(String localName) voidwriteStartElement(String namespaceURI, String localName) voidwriteStartElement(String prefix, String localName, String namespaceURI)
-
Field Details
-
delegate
protected final org.codehaus.stax2.XMLStreamWriter2 delegate
-
-
Constructor Details
-
WrappedXMLStreamWriter2
public WrappedXMLStreamWriter2(org.codehaus.stax2.XMLStreamWriter2 delegate)
-
-
Method Details
-
validateAgainst
public org.codehaus.stax2.validation.XMLValidator validateAgainst(org.codehaus.stax2.validation.XMLValidationSchema xmlValidationSchema) throws XMLStreamException - Specified by:
validateAgainstin interfaceorg.codehaus.stax2.validation.Validatable- Throws:
XMLStreamException
-
stopValidatingAgainst
public org.codehaus.stax2.validation.XMLValidator stopValidatingAgainst(org.codehaus.stax2.validation.XMLValidationSchema xmlValidationSchema) throws XMLStreamException - Specified by:
stopValidatingAgainstin interfaceorg.codehaus.stax2.validation.Validatable- Throws:
XMLStreamException
-
stopValidatingAgainst
public org.codehaus.stax2.validation.XMLValidator stopValidatingAgainst(org.codehaus.stax2.validation.XMLValidator xmlValidator) throws XMLStreamException - Specified by:
stopValidatingAgainstin interfaceorg.codehaus.stax2.validation.Validatable- Throws:
XMLStreamException
-
setValidationProblemHandler
public org.codehaus.stax2.validation.ValidationProblemHandler setValidationProblemHandler(org.codehaus.stax2.validation.ValidationProblemHandler validationProblemHandler) - Specified by:
setValidationProblemHandlerin interfaceorg.codehaus.stax2.validation.Validatable
-
writeBoolean
- Specified by:
writeBooleanin interfaceorg.codehaus.stax2.typed.TypedXMLStreamWriter- Throws:
XMLStreamException
-
writeInt
- Specified by:
writeIntin interfaceorg.codehaus.stax2.typed.TypedXMLStreamWriter- Throws:
XMLStreamException
-
writeLong
- Specified by:
writeLongin interfaceorg.codehaus.stax2.typed.TypedXMLStreamWriter- Throws:
XMLStreamException
-
writeFloat
- Specified by:
writeFloatin interfaceorg.codehaus.stax2.typed.TypedXMLStreamWriter- Throws:
XMLStreamException
-
writeDouble
- Specified by:
writeDoublein interfaceorg.codehaus.stax2.typed.TypedXMLStreamWriter- Throws:
XMLStreamException
-
writeInteger
- Specified by:
writeIntegerin interfaceorg.codehaus.stax2.typed.TypedXMLStreamWriter- Throws:
XMLStreamException
-
writeDecimal
- Specified by:
writeDecimalin interfaceorg.codehaus.stax2.typed.TypedXMLStreamWriter- Throws:
XMLStreamException
-
writeQName
- Specified by:
writeQNamein interfaceorg.codehaus.stax2.typed.TypedXMLStreamWriter- Throws:
XMLStreamException
-
writeBinary
- Specified by:
writeBinaryin interfaceorg.codehaus.stax2.typed.TypedXMLStreamWriter- Throws:
XMLStreamException
-
writeBinary
public void writeBinary(org.codehaus.stax2.typed.Base64Variant base64Variant, byte[] bytes, int i, int i1) throws XMLStreamException - Specified by:
writeBinaryin interfaceorg.codehaus.stax2.typed.TypedXMLStreamWriter- Throws:
XMLStreamException
-
writeIntArray
- Specified by:
writeIntArrayin interfaceorg.codehaus.stax2.typed.TypedXMLStreamWriter- Throws:
XMLStreamException
-
writeLongArray
- Specified by:
writeLongArrayin interfaceorg.codehaus.stax2.typed.TypedXMLStreamWriter- Throws:
XMLStreamException
-
writeFloatArray
- Specified by:
writeFloatArrayin interfaceorg.codehaus.stax2.typed.TypedXMLStreamWriter- Throws:
XMLStreamException
-
writeDoubleArray
- Specified by:
writeDoubleArrayin interfaceorg.codehaus.stax2.typed.TypedXMLStreamWriter- Throws:
XMLStreamException
-
writeBooleanAttribute
public void writeBooleanAttribute(String s, String s1, String s2, boolean b) throws XMLStreamException - Specified by:
writeBooleanAttributein interfaceorg.codehaus.stax2.typed.TypedXMLStreamWriter- Throws:
XMLStreamException
-
writeIntAttribute
- Specified by:
writeIntAttributein interfaceorg.codehaus.stax2.typed.TypedXMLStreamWriter- Throws:
XMLStreamException
-
writeLongAttribute
- Specified by:
writeLongAttributein interfaceorg.codehaus.stax2.typed.TypedXMLStreamWriter- Throws:
XMLStreamException
-
writeFloatAttribute
- Specified by:
writeFloatAttributein interfaceorg.codehaus.stax2.typed.TypedXMLStreamWriter- Throws:
XMLStreamException
-
writeDoubleAttribute
public void writeDoubleAttribute(String s, String s1, String s2, double v) throws XMLStreamException - Specified by:
writeDoubleAttributein interfaceorg.codehaus.stax2.typed.TypedXMLStreamWriter- Throws:
XMLStreamException
-
writeIntegerAttribute
public void writeIntegerAttribute(String s, String s1, String s2, BigInteger bigInteger) throws XMLStreamException - Specified by:
writeIntegerAttributein interfaceorg.codehaus.stax2.typed.TypedXMLStreamWriter- Throws:
XMLStreamException
-
writeDecimalAttribute
public void writeDecimalAttribute(String s, String s1, String s2, BigDecimal bigDecimal) throws XMLStreamException - Specified by:
writeDecimalAttributein interfaceorg.codehaus.stax2.typed.TypedXMLStreamWriter- Throws:
XMLStreamException
-
writeQNameAttribute
public void writeQNameAttribute(String s, String s1, String s2, QName qName) throws XMLStreamException - Specified by:
writeQNameAttributein interfaceorg.codehaus.stax2.typed.TypedXMLStreamWriter- Throws:
XMLStreamException
-
writeBinaryAttribute
public void writeBinaryAttribute(String s, String s1, String s2, byte[] bytes) throws XMLStreamException - Specified by:
writeBinaryAttributein interfaceorg.codehaus.stax2.typed.TypedXMLStreamWriter- Throws:
XMLStreamException
-
writeBinaryAttribute
public void writeBinaryAttribute(org.codehaus.stax2.typed.Base64Variant base64Variant, String s, String s1, String s2, byte[] bytes) throws XMLStreamException - Specified by:
writeBinaryAttributein interfaceorg.codehaus.stax2.typed.TypedXMLStreamWriter- Throws:
XMLStreamException
-
writeIntArrayAttribute
public void writeIntArrayAttribute(String s, String s1, String s2, int[] ints) throws XMLStreamException - Specified by:
writeIntArrayAttributein interfaceorg.codehaus.stax2.typed.TypedXMLStreamWriter- Throws:
XMLStreamException
-
writeLongArrayAttribute
public void writeLongArrayAttribute(String s, String s1, String s2, long[] longs) throws XMLStreamException - Specified by:
writeLongArrayAttributein interfaceorg.codehaus.stax2.typed.TypedXMLStreamWriter- Throws:
XMLStreamException
-
writeFloatArrayAttribute
public void writeFloatArrayAttribute(String s, String s1, String s2, float[] floats) throws XMLStreamException - Specified by:
writeFloatArrayAttributein interfaceorg.codehaus.stax2.typed.TypedXMLStreamWriter- Throws:
XMLStreamException
-
writeDoubleArrayAttribute
public void writeDoubleArrayAttribute(String s, String s1, String s2, double[] doubles) throws XMLStreamException - Specified by:
writeDoubleArrayAttributein interfaceorg.codehaus.stax2.typed.TypedXMLStreamWriter- Throws:
XMLStreamException
-
isPropertySupported
- Specified by:
isPropertySupportedin interfaceorg.codehaus.stax2.XMLStreamWriter2
-
setProperty
-
getLocation
public org.codehaus.stax2.XMLStreamLocation2 getLocation()- Specified by:
getLocationin interfaceorg.codehaus.stax2.XMLStreamWriter2
-
getEncoding
- Specified by:
getEncodingin interfaceorg.codehaus.stax2.XMLStreamWriter2
-
writeCData
- Specified by:
writeCDatain interfaceorg.codehaus.stax2.XMLStreamWriter2- Throws:
XMLStreamException
-
writeDTD
- Specified by:
writeDTDin interfaceorg.codehaus.stax2.XMLStreamWriter2- Throws:
XMLStreamException
-
writeFullEndElement
- Specified by:
writeFullEndElementin interfaceorg.codehaus.stax2.XMLStreamWriter2- Throws:
XMLStreamException
-
writeStartDocument
- Specified by:
writeStartDocumentin interfaceorg.codehaus.stax2.XMLStreamWriter2- Throws:
XMLStreamException
-
writeSpace
- Specified by:
writeSpacein interfaceorg.codehaus.stax2.XMLStreamWriter2- Throws:
XMLStreamException
-
writeSpace
- Specified by:
writeSpacein interfaceorg.codehaus.stax2.XMLStreamWriter2- Throws:
XMLStreamException
-
writeRaw
- Specified by:
writeRawin interfaceorg.codehaus.stax2.XMLStreamWriter2- Throws:
XMLStreamException
-
writeRaw
- Specified by:
writeRawin interfaceorg.codehaus.stax2.XMLStreamWriter2- Throws:
XMLStreamException
-
writeRaw
- Specified by:
writeRawin interfaceorg.codehaus.stax2.XMLStreamWriter2- Throws:
XMLStreamException
-
copyEventFromReader
public void copyEventFromReader(org.codehaus.stax2.XMLStreamReader2 xmlStreamReader2, boolean b) throws XMLStreamException - Specified by:
copyEventFromReaderin interfaceorg.codehaus.stax2.XMLStreamWriter2- Throws:
XMLStreamException
-
closeCompletely
- Specified by:
closeCompletelyin interfaceorg.codehaus.stax2.XMLStreamWriter2- Throws:
XMLStreamException
-
writeStartElement
- Specified by:
writeStartElementin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
writeStartElement
- Specified by:
writeStartElementin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
writeStartElement
public void writeStartElement(String prefix, String localName, String namespaceURI) throws XMLStreamException - Specified by:
writeStartElementin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
writeEmptyElement
- Specified by:
writeEmptyElementin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
writeEmptyElement
public void writeEmptyElement(String prefix, String localName, String namespaceURI) throws XMLStreamException - Specified by:
writeEmptyElementin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
writeEmptyElement
- Specified by:
writeEmptyElementin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
writeEndElement
- Specified by:
writeEndElementin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
writeEndDocument
- Specified by:
writeEndDocumentin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
close
- Specified by:
closein interfaceXMLStreamWriter- Throws:
XMLStreamException
-
flush
- Specified by:
flushin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
writeAttribute
- Specified by:
writeAttributein interfaceXMLStreamWriter- Throws:
XMLStreamException
-
writeAttribute
public void writeAttribute(String prefix, String namespaceURI, String localName, String value) throws XMLStreamException - Specified by:
writeAttributein interfaceXMLStreamWriter- Throws:
XMLStreamException
-
writeAttribute
public void writeAttribute(String namespaceURI, String localName, String value) throws XMLStreamException - Specified by:
writeAttributein interfaceXMLStreamWriter- Throws:
XMLStreamException
-
writeNamespace
- Specified by:
writeNamespacein interfaceXMLStreamWriter- Throws:
XMLStreamException
-
writeDefaultNamespace
- Specified by:
writeDefaultNamespacein interfaceXMLStreamWriter- Throws:
XMLStreamException
-
writeComment
- Specified by:
writeCommentin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
writeProcessingInstruction
- Specified by:
writeProcessingInstructionin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
writeProcessingInstruction
- Specified by:
writeProcessingInstructionin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
writeCData
- Specified by:
writeCDatain interfaceXMLStreamWriter- Throws:
XMLStreamException
-
writeDTD
- Specified by:
writeDTDin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
writeEntityRef
- Specified by:
writeEntityRefin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
writeStartDocument
- Specified by:
writeStartDocumentin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
writeStartDocument
- Specified by:
writeStartDocumentin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
writeStartDocument
- Specified by:
writeStartDocumentin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
writeCharacters
- Specified by:
writeCharactersin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
writeCharacters
- Specified by:
writeCharactersin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
getPrefix
- Specified by:
getPrefixin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
setPrefix
- Specified by:
setPrefixin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
setDefaultNamespace
- Specified by:
setDefaultNamespacein interfaceXMLStreamWriter- Throws:
XMLStreamException
-
setNamespaceContext
- Specified by:
setNamespaceContextin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
getNamespaceContext
- Specified by:
getNamespaceContextin interfaceXMLStreamWriter
-
getProperty
- Specified by:
getPropertyin interfaceXMLStreamWriter- Throws:
IllegalArgumentException
-