Commit 85b14376 authored by Lukas Jungmann's avatar Lukas Jungmann
Browse files

remove redundant modifiers

Signed-off-by: default avatarLukas Jungmann <lukas.jungmann@oracle.com>
parent 772ecfd9
No related merge requests found
...@@ -73,7 +73,7 @@ public interface DatatypeConverterInterface { ...@@ -73,7 +73,7 @@ public interface DatatypeConverterInterface {
* @return * @return
* A string that is the same as the input string. * A string that is the same as the input string.
*/ */
public String parseString( String lexicalXSDString ); String parseString(String lexicalXSDString);
/** /**
* Convert the string argument into a BigInteger value. * Convert the string argument into a BigInteger value.
...@@ -84,7 +84,7 @@ public interface DatatypeConverterInterface { ...@@ -84,7 +84,7 @@ public interface DatatypeConverterInterface {
* A BigInteger value represented by the string argument. * A BigInteger value represented by the string argument.
* @throws NumberFormatException {@code lexicalXSDInteger} is not a valid string representation of a {@link java.math.BigInteger} value. * @throws NumberFormatException {@code lexicalXSDInteger} is not a valid string representation of a {@link java.math.BigInteger} value.
*/ */
public java.math.BigInteger parseInteger( String lexicalXSDInteger ); java.math.BigInteger parseInteger(String lexicalXSDInteger);
/** /**
* Convert the string argument into an int value. * Convert the string argument into an int value.
...@@ -95,7 +95,7 @@ public interface DatatypeConverterInterface { ...@@ -95,7 +95,7 @@ public interface DatatypeConverterInterface {
* An int value represented byte the string argument. * An int value represented byte the string argument.
* @throws NumberFormatException {@code lexicalXSDInt} is not a valid string representation of an {@code int} value. * @throws NumberFormatException {@code lexicalXSDInt} is not a valid string representation of an {@code int} value.
*/ */
public int parseInt( String lexicalXSDInt ); int parseInt(String lexicalXSDInt);
/** /**
* Converts the string argument into a long value. * Converts the string argument into a long value.
...@@ -106,7 +106,7 @@ public interface DatatypeConverterInterface { ...@@ -106,7 +106,7 @@ public interface DatatypeConverterInterface {
* A long value represented by the string argument. * A long value represented by the string argument.
* @throws NumberFormatException {@code lexicalXSDLong} is not a valid string representation of a {@code long} value. * @throws NumberFormatException {@code lexicalXSDLong} is not a valid string representation of a {@code long} value.
*/ */
public long parseLong( String lexicalXSDLong ); long parseLong(String lexicalXSDLong);
/** /**
* Converts the string argument into a short value. * Converts the string argument into a short value.
...@@ -117,7 +117,7 @@ public interface DatatypeConverterInterface { ...@@ -117,7 +117,7 @@ public interface DatatypeConverterInterface {
* A short value represented by the string argument. * A short value represented by the string argument.
* @throws NumberFormatException {@code lexicalXSDShort} is not a valid string representation of a {@code short} value. * @throws NumberFormatException {@code lexicalXSDShort} is not a valid string representation of a {@code short} value.
*/ */
public short parseShort( String lexicalXSDShort ); short parseShort(String lexicalXSDShort);
/** /**
* Converts the string argument into a BigDecimal value. * Converts the string argument into a BigDecimal value.
...@@ -128,7 +128,7 @@ public interface DatatypeConverterInterface { ...@@ -128,7 +128,7 @@ public interface DatatypeConverterInterface {
* A BigDecimal value represented by the string argument. * A BigDecimal value represented by the string argument.
* @throws NumberFormatException {@code lexicalXSDDecimal} is not a valid string representation of {@link java.math.BigDecimal}. * @throws NumberFormatException {@code lexicalXSDDecimal} is not a valid string representation of {@link java.math.BigDecimal}.
*/ */
public java.math.BigDecimal parseDecimal( String lexicalXSDDecimal ); java.math.BigDecimal parseDecimal(String lexicalXSDDecimal);
/** /**
* Converts the string argument into a float value. * Converts the string argument into a float value.
...@@ -139,7 +139,7 @@ public interface DatatypeConverterInterface { ...@@ -139,7 +139,7 @@ public interface DatatypeConverterInterface {
* A float value represented by the string argument. * A float value represented by the string argument.
* @throws NumberFormatException {@code lexicalXSDFloat} is not a valid string representation of a {@code float} value. * @throws NumberFormatException {@code lexicalXSDFloat} is not a valid string representation of a {@code float} value.
*/ */
public float parseFloat( String lexicalXSDFloat ); float parseFloat(String lexicalXSDFloat);
/** /**
* Converts the string argument into a double value. * Converts the string argument into a double value.
...@@ -150,7 +150,7 @@ public interface DatatypeConverterInterface { ...@@ -150,7 +150,7 @@ public interface DatatypeConverterInterface {
* A double value represented by the string argument. * A double value represented by the string argument.
* @throws NumberFormatException {@code lexicalXSDDouble} is not a valid string representation of a {@code double} value. * @throws NumberFormatException {@code lexicalXSDDouble} is not a valid string representation of a {@code double} value.
*/ */
public double parseDouble( String lexicalXSDDouble ); double parseDouble(String lexicalXSDDouble);
/** /**
* Converts the string argument into a boolean value. * Converts the string argument into a boolean value.
...@@ -161,7 +161,7 @@ public interface DatatypeConverterInterface { ...@@ -161,7 +161,7 @@ public interface DatatypeConverterInterface {
* A boolean value represented by the string argument. * A boolean value represented by the string argument.
* @throws IllegalArgumentException if string parameter does not conform to lexical value space defined in XML Schema Part 2: Datatypes for xsd:boolean. * @throws IllegalArgumentException if string parameter does not conform to lexical value space defined in XML Schema Part 2: Datatypes for xsd:boolean.
*/ */
public boolean parseBoolean( String lexicalXSDBoolean ); boolean parseBoolean(String lexicalXSDBoolean);
/** /**
* Converts the string argument into a byte value. * Converts the string argument into a byte value.
...@@ -173,7 +173,7 @@ public interface DatatypeConverterInterface { ...@@ -173,7 +173,7 @@ public interface DatatypeConverterInterface {
* @throws NumberFormatException {@code lexicalXSDByte} does not contain a parseable byte. * @throws NumberFormatException {@code lexicalXSDByte} does not contain a parseable byte.
* @throws IllegalArgumentException if string parameter does not conform to lexical value space defined in XML Schema Part 2: Datatypes for xsd:byte. * @throws IllegalArgumentException if string parameter does not conform to lexical value space defined in XML Schema Part 2: Datatypes for xsd:byte.
*/ */
public byte parseByte( String lexicalXSDByte ); byte parseByte(String lexicalXSDByte);
/** /**
* Converts the string argument into a QName value. * Converts the string argument into a QName value.
...@@ -191,7 +191,7 @@ public interface DatatypeConverterInterface { ...@@ -191,7 +191,7 @@ public interface DatatypeConverterInterface {
* @throws IllegalArgumentException if string parameter does not conform to XML Schema Part 2 specification or * @throws IllegalArgumentException if string parameter does not conform to XML Schema Part 2 specification or
* if namespace prefix of {@code lexicalXSDQname} is not bound to a URI in NamespaceContext {@code nsc}. * if namespace prefix of {@code lexicalXSDQname} is not bound to a URI in NamespaceContext {@code nsc}.
*/ */
public javax.xml.namespace.QName parseQName( String lexicalXSDQName, javax.xml.namespace.QName parseQName(String lexicalXSDQName,
javax.xml.namespace.NamespaceContext nsc); javax.xml.namespace.NamespaceContext nsc);
/** /**
...@@ -203,7 +203,7 @@ public interface DatatypeConverterInterface { ...@@ -203,7 +203,7 @@ public interface DatatypeConverterInterface {
* A Calendar object represented by the string argument. * A Calendar object represented by the string argument.
* @throws IllegalArgumentException if string parameter does not conform to lexical value space defined in XML Schema Part 2: Datatypes for xsd:dateTime. * @throws IllegalArgumentException if string parameter does not conform to lexical value space defined in XML Schema Part 2: Datatypes for xsd:dateTime.
*/ */
public java.util.Calendar parseDateTime( String lexicalXSDDateTime ); java.util.Calendar parseDateTime(String lexicalXSDDateTime);
/** /**
* Converts the string argument into an array of bytes. * Converts the string argument into an array of bytes.
...@@ -214,7 +214,7 @@ public interface DatatypeConverterInterface { ...@@ -214,7 +214,7 @@ public interface DatatypeConverterInterface {
* An array of bytes represented by the string argument. * An array of bytes represented by the string argument.
* @throws IllegalArgumentException if string parameter does not conform to lexical value space defined in XML Schema Part 2: Datatypes for xsd:base64Binary * @throws IllegalArgumentException if string parameter does not conform to lexical value space defined in XML Schema Part 2: Datatypes for xsd:base64Binary
*/ */
public byte[] parseBase64Binary( String lexicalXSDBase64Binary ); byte[] parseBase64Binary(String lexicalXSDBase64Binary);
/** /**
* Converts the string argument into an array of bytes. * Converts the string argument into an array of bytes.
...@@ -225,7 +225,7 @@ public interface DatatypeConverterInterface { ...@@ -225,7 +225,7 @@ public interface DatatypeConverterInterface {
* An array of bytes represented by the string argument. * An array of bytes represented by the string argument.
* @throws IllegalArgumentException if string parameter does not conform to lexical value space defined in XML Schema Part 2: Datatypes for xsd:hexBinary. * @throws IllegalArgumentException if string parameter does not conform to lexical value space defined in XML Schema Part 2: Datatypes for xsd:hexBinary.
*/ */
public byte[] parseHexBinary( String lexicalXSDHexBinary ); byte[] parseHexBinary(String lexicalXSDHexBinary);
/** /**
* Converts the string argument into a long value. * Converts the string argument into a long value.
...@@ -236,7 +236,7 @@ public interface DatatypeConverterInterface { ...@@ -236,7 +236,7 @@ public interface DatatypeConverterInterface {
* A long value represented by the string argument. * A long value represented by the string argument.
* @throws NumberFormatException if string parameter can not be parsed into a {@code long} value. * @throws NumberFormatException if string parameter can not be parsed into a {@code long} value.
*/ */
public long parseUnsignedInt( String lexicalXSDUnsignedInt ); long parseUnsignedInt(String lexicalXSDUnsignedInt);
/** /**
* Converts the string argument into an int value. * Converts the string argument into an int value.
...@@ -247,7 +247,7 @@ public interface DatatypeConverterInterface { ...@@ -247,7 +247,7 @@ public interface DatatypeConverterInterface {
* An int value represented by the string argument. * An int value represented by the string argument.
* @throws NumberFormatException if string parameter can not be parsed into an {@code int} value. * @throws NumberFormatException if string parameter can not be parsed into an {@code int} value.
*/ */
public int parseUnsignedShort( String lexicalXSDUnsignedShort ); int parseUnsignedShort(String lexicalXSDUnsignedShort);
/** /**
* Converts the string argument into a Calendar value. * Converts the string argument into a Calendar value.
...@@ -258,7 +258,7 @@ public interface DatatypeConverterInterface { ...@@ -258,7 +258,7 @@ public interface DatatypeConverterInterface {
* A Calendar value represented by the string argument. * A Calendar value represented by the string argument.
* @throws IllegalArgumentException if string parameter does not conform to lexical value space defined in XML Schema Part 2: Datatypes for xsd:Time. * @throws IllegalArgumentException if string parameter does not conform to lexical value space defined in XML Schema Part 2: Datatypes for xsd:Time.
*/ */
public java.util.Calendar parseTime( String lexicalXSDTime ); java.util.Calendar parseTime(String lexicalXSDTime);
/** /**
* Converts the string argument into a Calendar value. * Converts the string argument into a Calendar value.
...@@ -269,7 +269,7 @@ public interface DatatypeConverterInterface { ...@@ -269,7 +269,7 @@ public interface DatatypeConverterInterface {
* A Calendar value represented by the string argument. * A Calendar value represented by the string argument.
* @throws IllegalArgumentException if string parameter does not conform to lexical value space defined in XML Schema Part 2: Datatypes for xsd:Date. * @throws IllegalArgumentException if string parameter does not conform to lexical value space defined in XML Schema Part 2: Datatypes for xsd:Date.
*/ */
public java.util.Calendar parseDate( String lexicalXSDDate ); java.util.Calendar parseDate(String lexicalXSDDate);
/** /**
* Return a string containing the lexical representation of the * Return a string containing the lexical representation of the
...@@ -281,7 +281,7 @@ public interface DatatypeConverterInterface { ...@@ -281,7 +281,7 @@ public interface DatatypeConverterInterface {
* A string containing the lexical representation of the * A string containing the lexical representation of the
* simple type. * simple type.
*/ */
public String parseAnySimpleType( String lexicalXSDAnySimpleType ); String parseAnySimpleType(String lexicalXSDAnySimpleType);
/** /**
* Converts the string argument into a string. * Converts the string argument into a string.
...@@ -290,7 +290,7 @@ public interface DatatypeConverterInterface { ...@@ -290,7 +290,7 @@ public interface DatatypeConverterInterface {
* @return * @return
* A string containing a lexical representation of xsd:string * A string containing a lexical representation of xsd:string
*/ */
public String printString( String val ); String printString(String val);
/** /**
* Converts a BigInteger value into a string. * Converts a BigInteger value into a string.
...@@ -300,7 +300,7 @@ public interface DatatypeConverterInterface { ...@@ -300,7 +300,7 @@ public interface DatatypeConverterInterface {
* A string containing a lexical representation of xsd:integer * A string containing a lexical representation of xsd:integer
* @throws IllegalArgumentException {@code val} is null. * @throws IllegalArgumentException {@code val} is null.
*/ */
public String printInteger( java.math.BigInteger val ); String printInteger(java.math.BigInteger val);
/** /**
* Converts an int value into a string. * Converts an int value into a string.
...@@ -309,7 +309,7 @@ public interface DatatypeConverterInterface { ...@@ -309,7 +309,7 @@ public interface DatatypeConverterInterface {
* @return * @return
* A string containing a lexical representation of xsd:int * A string containing a lexical representation of xsd:int
*/ */
public String printInt( int val ); String printInt(int val);
/** /**
...@@ -319,7 +319,7 @@ public interface DatatypeConverterInterface { ...@@ -319,7 +319,7 @@ public interface DatatypeConverterInterface {
* @return * @return
* A string containing a lexical representation of xsd:long * A string containing a lexical representation of xsd:long
*/ */
public String printLong( long val ); String printLong(long val);
/** /**
* Converts a short value into a string. * Converts a short value into a string.
...@@ -328,7 +328,7 @@ public interface DatatypeConverterInterface { ...@@ -328,7 +328,7 @@ public interface DatatypeConverterInterface {
* @return * @return
* A string containing a lexical representation of xsd:short * A string containing a lexical representation of xsd:short
*/ */
public String printShort( short val ); String printShort(short val);
/** /**
* Converts a BigDecimal value into a string. * Converts a BigDecimal value into a string.
...@@ -338,7 +338,7 @@ public interface DatatypeConverterInterface { ...@@ -338,7 +338,7 @@ public interface DatatypeConverterInterface {
* A string containing a lexical representation of xsd:decimal * A string containing a lexical representation of xsd:decimal
* @throws IllegalArgumentException {@code val} is null. * @throws IllegalArgumentException {@code val} is null.
*/ */
public String printDecimal( java.math.BigDecimal val ); String printDecimal(java.math.BigDecimal val);
/** /**
* Converts a float value into a string. * Converts a float value into a string.
...@@ -347,7 +347,7 @@ public interface DatatypeConverterInterface { ...@@ -347,7 +347,7 @@ public interface DatatypeConverterInterface {
* @return * @return
* A string containing a lexical representation of xsd:float * A string containing a lexical representation of xsd:float
*/ */
public String printFloat( float val ); String printFloat(float val);
/** /**
* Converts a double value into a string. * Converts a double value into a string.
...@@ -356,7 +356,7 @@ public interface DatatypeConverterInterface { ...@@ -356,7 +356,7 @@ public interface DatatypeConverterInterface {
* @return * @return
* A string containing a lexical representation of xsd:double * A string containing a lexical representation of xsd:double
*/ */
public String printDouble( double val ); String printDouble(double val);
/** /**
* Converts a boolean value into a string. * Converts a boolean value into a string.
...@@ -365,7 +365,7 @@ public interface DatatypeConverterInterface { ...@@ -365,7 +365,7 @@ public interface DatatypeConverterInterface {
* @return * @return
* A string containing a lexical representation of xsd:boolean * A string containing a lexical representation of xsd:boolean
*/ */
public String printBoolean( boolean val ); String printBoolean(boolean val);
/** /**
* Converts a byte value into a string. * Converts a byte value into a string.
...@@ -374,7 +374,7 @@ public interface DatatypeConverterInterface { ...@@ -374,7 +374,7 @@ public interface DatatypeConverterInterface {
* @return * @return
* A string containing a lexical representation of xsd:byte * A string containing a lexical representation of xsd:byte
*/ */
public String printByte( byte val ); String printByte(byte val);
/** /**
* Converts a QName instance into a string. * Converts a QName instance into a string.
...@@ -387,8 +387,8 @@ public interface DatatypeConverterInterface { ...@@ -387,8 +387,8 @@ public interface DatatypeConverterInterface {
* @throws IllegalArgumentException if {@code val} is null or * @throws IllegalArgumentException if {@code val} is null or
* if {@code nsc} is non-null or {@code nsc.getPrefix(nsprefixFromVal)} is null. * if {@code nsc} is non-null or {@code nsc.getPrefix(nsprefixFromVal)} is null.
*/ */
public String printQName( javax.xml.namespace.QName val, String printQName(javax.xml.namespace.QName val,
javax.xml.namespace.NamespaceContext nsc ); javax.xml.namespace.NamespaceContext nsc);
/** /**
* Converts a Calendar value into a string. * Converts a Calendar value into a string.
...@@ -398,7 +398,7 @@ public interface DatatypeConverterInterface { ...@@ -398,7 +398,7 @@ public interface DatatypeConverterInterface {
* A string containing a lexical representation of xsd:dateTime * A string containing a lexical representation of xsd:dateTime
* @throws IllegalArgumentException if {@code val} is null. * @throws IllegalArgumentException if {@code val} is null.
*/ */
public String printDateTime( java.util.Calendar val ); String printDateTime(java.util.Calendar val);
/** /**
* Converts an array of bytes into a string. * Converts an array of bytes into a string.
...@@ -408,7 +408,7 @@ public interface DatatypeConverterInterface { ...@@ -408,7 +408,7 @@ public interface DatatypeConverterInterface {
* A string containing a lexical representation of xsd:base64Binary * A string containing a lexical representation of xsd:base64Binary
* @throws IllegalArgumentException if {@code val} is null. * @throws IllegalArgumentException if {@code val} is null.
*/ */
public String printBase64Binary( byte[] val ); String printBase64Binary(byte[] val);
/** /**
* Converts an array of bytes into a string. * Converts an array of bytes into a string.
...@@ -418,7 +418,7 @@ public interface DatatypeConverterInterface { ...@@ -418,7 +418,7 @@ public interface DatatypeConverterInterface {
* A string containing a lexical representation of xsd:hexBinary * A string containing a lexical representation of xsd:hexBinary
* @throws IllegalArgumentException if {@code val} is null. * @throws IllegalArgumentException if {@code val} is null.
*/ */
public String printHexBinary( byte[] val ); String printHexBinary(byte[] val);
/** /**
* Converts a long value into a string. * Converts a long value into a string.
...@@ -427,7 +427,7 @@ public interface DatatypeConverterInterface { ...@@ -427,7 +427,7 @@ public interface DatatypeConverterInterface {
* @return * @return
* A string containing a lexical representation of xsd:unsignedInt * A string containing a lexical representation of xsd:unsignedInt
*/ */
public String printUnsignedInt( long val ); String printUnsignedInt(long val);
/** /**
* Converts an int value into a string. * Converts an int value into a string.
...@@ -436,7 +436,7 @@ public interface DatatypeConverterInterface { ...@@ -436,7 +436,7 @@ public interface DatatypeConverterInterface {
* @return * @return
* A string containing a lexical representation of xsd:unsignedShort * A string containing a lexical representation of xsd:unsignedShort
*/ */
public String printUnsignedShort( int val ); String printUnsignedShort(int val);
/** /**
* Converts a Calendar value into a string. * Converts a Calendar value into a string.
...@@ -446,7 +446,7 @@ public interface DatatypeConverterInterface { ...@@ -446,7 +446,7 @@ public interface DatatypeConverterInterface {
* A string containing a lexical representation of xsd:time * A string containing a lexical representation of xsd:time
* @throws IllegalArgumentException if {@code val} is null. * @throws IllegalArgumentException if {@code val} is null.
*/ */
public String printTime( java.util.Calendar val ); String printTime(java.util.Calendar val);
/** /**
* Converts a Calendar value into a string. * Converts a Calendar value into a string.
...@@ -456,7 +456,7 @@ public interface DatatypeConverterInterface { ...@@ -456,7 +456,7 @@ public interface DatatypeConverterInterface {
* A string containing a lexical representation of xsd:date * A string containing a lexical representation of xsd:date
* @throws IllegalArgumentException if {@code val} is null. * @throws IllegalArgumentException if {@code val} is null.
*/ */
public String printDate( java.util.Calendar val ); String printDate(java.util.Calendar val);
/** /**
* Converts a string value into a string. * Converts a string value into a string.
...@@ -465,5 +465,5 @@ public interface DatatypeConverterInterface { ...@@ -465,5 +465,5 @@ public interface DatatypeConverterInterface {
* @return * @return
* A string containing a lexical representation of xsd:AnySimpleType * A string containing a lexical representation of xsd:AnySimpleType
*/ */
public String printAnySimpleType( String val ); String printAnySimpleType(String val);
} }
...@@ -303,21 +303,21 @@ public interface Marshaller { ...@@ -303,21 +303,21 @@ public interface Marshaller {
* The name of the property used to specify the output encoding in * The name of the property used to specify the output encoding in
* the marshalled XML data. * the marshalled XML data.
*/ */
public static final String JAXB_ENCODING = String JAXB_ENCODING =
"jaxb.encoding"; "jaxb.encoding";
/** /**
* The name of the property used to specify whether or not the marshalled * The name of the property used to specify whether or not the marshalled
* XML data is formatted with linefeeds and indentation. * XML data is formatted with linefeeds and indentation.
*/ */
public static final String JAXB_FORMATTED_OUTPUT = String JAXB_FORMATTED_OUTPUT =
"jaxb.formatted.output"; "jaxb.formatted.output";
/** /**
* The name of the property used to specify the xsi:schemaLocation * The name of the property used to specify the xsi:schemaLocation
* attribute value to place in the marshalled XML output. * attribute value to place in the marshalled XML output.
*/ */
public static final String JAXB_SCHEMA_LOCATION = String JAXB_SCHEMA_LOCATION =
"jaxb.schemaLocation"; "jaxb.schemaLocation";
/** /**
...@@ -325,14 +325,14 @@ public interface Marshaller { ...@@ -325,14 +325,14 @@ public interface Marshaller {
* xsi:noNamespaceSchemaLocation attribute value to place in the marshalled * xsi:noNamespaceSchemaLocation attribute value to place in the marshalled
* XML output. * XML output.
*/ */
public static final String JAXB_NO_NAMESPACE_SCHEMA_LOCATION = String JAXB_NO_NAMESPACE_SCHEMA_LOCATION =
"jaxb.noNamespaceSchemaLocation"; "jaxb.noNamespaceSchemaLocation";
/** /**
* The name of the property used to specify whether or not the marshaller * The name of the property used to specify whether or not the marshaller
* will generate document level events (ie calling startDocument or endDocument). * will generate document level events (ie calling startDocument or endDocument).
*/ */
public static final String JAXB_FRAGMENT = String JAXB_FRAGMENT =
"jaxb.fragment"; "jaxb.fragment";
/** /**
...@@ -362,7 +362,7 @@ public interface Marshaller { ...@@ -362,7 +362,7 @@ public interface Marshaller {
* @throws IllegalArgumentException * @throws IllegalArgumentException
* If any of the method parameters are null * If any of the method parameters are null
*/ */
public void marshal( Object jaxbElement, javax.xml.transform.Result result ) void marshal(Object jaxbElement, javax.xml.transform.Result result)
throws JAXBException; throws JAXBException;
/** /**
...@@ -384,7 +384,7 @@ public interface Marshaller { ...@@ -384,7 +384,7 @@ public interface Marshaller {
* @throws IllegalArgumentException * @throws IllegalArgumentException
* If any of the method parameters are null * If any of the method parameters are null
*/ */
public void marshal( Object jaxbElement, java.io.OutputStream os ) void marshal(Object jaxbElement, java.io.OutputStream os)
throws JAXBException; throws JAXBException;
/** /**
...@@ -407,7 +407,7 @@ public interface Marshaller { ...@@ -407,7 +407,7 @@ public interface Marshaller {
* If any of the method parameters are null * If any of the method parameters are null
* @since 1.6, JAXB 2.1 * @since 1.6, JAXB 2.1
*/ */
public void marshal( Object jaxbElement, File output ) void marshal(Object jaxbElement, File output)
throws JAXBException; throws JAXBException;
/** /**
...@@ -429,7 +429,7 @@ public interface Marshaller { ...@@ -429,7 +429,7 @@ public interface Marshaller {
* @throws IllegalArgumentException * @throws IllegalArgumentException
* If any of the method parameters are null * If any of the method parameters are null
*/ */
public void marshal( Object jaxbElement, java.io.Writer writer ) void marshal(Object jaxbElement, java.io.Writer writer)
throws JAXBException; throws JAXBException;
/** /**
...@@ -451,7 +451,7 @@ public interface Marshaller { ...@@ -451,7 +451,7 @@ public interface Marshaller {
* @throws IllegalArgumentException * @throws IllegalArgumentException
* If any of the method parameters are null * If any of the method parameters are null
*/ */
public void marshal( Object jaxbElement, org.xml.sax.ContentHandler handler ) void marshal(Object jaxbElement, org.xml.sax.ContentHandler handler)
throws JAXBException; throws JAXBException;
/** /**
...@@ -477,7 +477,7 @@ public interface Marshaller { ...@@ -477,7 +477,7 @@ public interface Marshaller {
* @throws IllegalArgumentException * @throws IllegalArgumentException
* If any of the method parameters are null * If any of the method parameters are null
*/ */
public void marshal( Object jaxbElement, org.w3c.dom.Node node ) void marshal(Object jaxbElement, org.w3c.dom.Node node)
throws JAXBException; throws JAXBException;
/** /**
...@@ -501,7 +501,7 @@ public interface Marshaller { ...@@ -501,7 +501,7 @@ public interface Marshaller {
* If any of the method parameters are null * If any of the method parameters are null
* @since 1.6, JAXB 2.0 * @since 1.6, JAXB 2.0
*/ */
public void marshal( Object jaxbElement, javax.xml.stream.XMLStreamWriter writer ) void marshal(Object jaxbElement, javax.xml.stream.XMLStreamWriter writer)
throws JAXBException; throws JAXBException;
/** /**
...@@ -525,7 +525,7 @@ public interface Marshaller { ...@@ -525,7 +525,7 @@ public interface Marshaller {
* If any of the method parameters are null * If any of the method parameters are null
* @since 1.6, JAXB 2.0 * @since 1.6, JAXB 2.0
*/ */
public void marshal( Object jaxbElement, javax.xml.stream.XMLEventWriter writer ) void marshal(Object jaxbElement, javax.xml.stream.XMLEventWriter writer)
throws JAXBException; throws JAXBException;
/** /**
...@@ -551,7 +551,7 @@ public interface Marshaller { ...@@ -551,7 +551,7 @@ public interface Marshaller {
* If any unexpected problem occurs * If any unexpected problem occurs
* *
*/ */
public org.w3c.dom.Node getNode( java.lang.Object contentTree ) org.w3c.dom.Node getNode(java.lang.Object contentTree)
throws JAXBException; throws JAXBException;
/** /**
...@@ -572,7 +572,7 @@ public interface Marshaller { ...@@ -572,7 +572,7 @@ public interface Marshaller {
* @throws IllegalArgumentException * @throws IllegalArgumentException
* If the name parameter is null * If the name parameter is null
*/ */
public void setProperty( String name, Object value ) void setProperty(String name, Object value)
throws PropertyException; throws PropertyException;
/** /**
...@@ -592,7 +592,7 @@ public interface Marshaller { ...@@ -592,7 +592,7 @@ public interface Marshaller {
* @throws IllegalArgumentException * @throws IllegalArgumentException
* If the name parameter is null * If the name parameter is null
*/ */
public Object getProperty( String name ) throws PropertyException; Object getProperty(String name) throws PropertyException;
/** /**
* Allow an application to register a validation event handler. * Allow an application to register a validation event handler.
...@@ -611,7 +611,7 @@ public interface Marshaller { ...@@ -611,7 +611,7 @@ public interface Marshaller {
* @throws JAXBException if an error was encountered while setting the * @throws JAXBException if an error was encountered while setting the
* event handler * event handler
*/ */
public void setEventHandler( ValidationEventHandler handler ) void setEventHandler(ValidationEventHandler handler)
throws JAXBException; throws JAXBException;
/** /**
...@@ -623,7 +623,7 @@ public interface Marshaller { ...@@ -623,7 +623,7 @@ public interface Marshaller {
* @throws JAXBException if an error was encountered while getting the * @throws JAXBException if an error was encountered while getting the
* current event handler * current event handler
*/ */
public ValidationEventHandler getEventHandler() ValidationEventHandler getEventHandler()
throws JAXBException; throws JAXBException;
...@@ -647,7 +647,7 @@ public interface Marshaller { ...@@ -647,7 +647,7 @@ public interface Marshaller {
* if invoked agains a JAXB 1.0 implementation. * if invoked agains a JAXB 1.0 implementation.
* @since 1.6, JAXB 2.0 * @since 1.6, JAXB 2.0
*/ */
public <A extends XmlAdapter<?, ?>> void setAdapter( A adapter ); <A extends XmlAdapter<?, ?>> void setAdapter(A adapter);
/** /**
* Associates a configured instance of {@link XmlAdapter} with this marshaller. * Associates a configured instance of {@link XmlAdapter} with this marshaller.
...@@ -678,7 +678,7 @@ public interface Marshaller { ...@@ -678,7 +678,7 @@ public interface Marshaller {
* if invoked agains a JAXB 1.0 implementation. * if invoked agains a JAXB 1.0 implementation.
* @since 1.6, JAXB 2.0 * @since 1.6, JAXB 2.0
*/ */
public <A extends XmlAdapter<?, ?>> void setAdapter( Class<A> type, A adapter ); <A extends XmlAdapter<?, ?>> void setAdapter(Class<A> type, A adapter);
/** /**
* Gets the adapter associated with the specified type. * Gets the adapter associated with the specified type.
...@@ -700,7 +700,7 @@ public interface Marshaller { ...@@ -700,7 +700,7 @@ public interface Marshaller {
* if invoked agains a JAXB 1.0 implementation. * if invoked agains a JAXB 1.0 implementation.
* @since 1.6, JAXB 2.0 * @since 1.6, JAXB 2.0
*/ */
public <A extends XmlAdapter<?, ?>> A getAdapter( Class<A> type ); <A extends XmlAdapter<?, ?>> A getAdapter(Class<A> type);
/** /**
...@@ -735,7 +735,7 @@ public interface Marshaller { ...@@ -735,7 +735,7 @@ public interface Marshaller {
* JAXB 1.0 mapped classes * JAXB 1.0 mapped classes
* @since 1.6, JAXB 2.0 * @since 1.6, JAXB 2.0
*/ */
public void setSchema( Schema schema ); void setSchema(Schema schema);
/** /**
* Get the JAXP {@link javax.xml.validation.Schema Schema} object * Get the JAXP {@link javax.xml.validation.Schema Schema} object
...@@ -750,7 +750,7 @@ public interface Marshaller { ...@@ -750,7 +750,7 @@ public interface Marshaller {
* JAXB 1.0 mapped classes * JAXB 1.0 mapped classes
* @since 1.6, JAXB 2.0 * @since 1.6, JAXB 2.0
*/ */
public Schema getSchema(); Schema getSchema();
/** /**
* <p> * <p>
...@@ -771,7 +771,7 @@ public interface Marshaller { ...@@ -771,7 +771,7 @@ public interface Marshaller {
* @see Marshaller#getListener() * @see Marshaller#getListener()
* @since 1.6, JAXB 2.0 * @since 1.6, JAXB 2.0
*/ */
public static abstract class Listener { abstract class Listener {
/** /**
* Do-nothing constructor for the derived classes. * Do-nothing constructor for the derived classes.
...@@ -819,7 +819,7 @@ public interface Marshaller { ...@@ -819,7 +819,7 @@ public interface Marshaller {
* @param listener an instance of a class that implements {@link Listener} * @param listener an instance of a class that implements {@link Listener}
* @since 1.6, JAXB 2.0 * @since 1.6, JAXB 2.0
*/ */
public void setListener(Listener listener); void setListener(Listener listener);
/** /**
* <p>Return {@link Listener} registered with this {@link Marshaller}. * <p>Return {@link Listener} registered with this {@link Marshaller}.
...@@ -828,5 +828,5 @@ public interface Marshaller { ...@@ -828,5 +828,5 @@ public interface Marshaller {
* if no Listener is registered with this Marshaller. * if no Listener is registered with this Marshaller.
* @since 1.6, JAXB 2.0 * @since 1.6, JAXB 2.0
*/ */
public Listener getListener(); Listener getListener();
} }
...@@ -408,7 +408,7 @@ public interface Unmarshaller { ...@@ -408,7 +408,7 @@ public interface Unmarshaller {
* @throws IllegalArgumentException * @throws IllegalArgumentException
* If the file parameter is null * If the file parameter is null
*/ */
public Object unmarshal( java.io.File f ) throws JAXBException; Object unmarshal(java.io.File f) throws JAXBException;
/** /**
* Unmarshal XML data from the specified InputStream and return the * Unmarshal XML data from the specified InputStream and return the
...@@ -431,7 +431,7 @@ public interface Unmarshaller { ...@@ -431,7 +431,7 @@ public interface Unmarshaller {
* @throws IllegalArgumentException * @throws IllegalArgumentException
* If the InputStream parameter is null * If the InputStream parameter is null
*/ */
public Object unmarshal( java.io.InputStream is ) throws JAXBException; Object unmarshal(java.io.InputStream is) throws JAXBException;
/** /**
* Unmarshal XML data from the specified Reader and return the * Unmarshal XML data from the specified Reader and return the
...@@ -456,7 +456,7 @@ public interface Unmarshaller { ...@@ -456,7 +456,7 @@ public interface Unmarshaller {
* If the InputStream parameter is null * If the InputStream parameter is null
* @since 1.6, JAXB 2.0 * @since 1.6, JAXB 2.0
*/ */
public Object unmarshal( Reader reader ) throws JAXBException; Object unmarshal(Reader reader) throws JAXBException;
/** /**
* Unmarshal XML data from the specified URL and return the resulting * Unmarshal XML data from the specified URL and return the resulting
...@@ -478,7 +478,7 @@ public interface Unmarshaller { ...@@ -478,7 +478,7 @@ public interface Unmarshaller {
* @throws IllegalArgumentException * @throws IllegalArgumentException
* If the URL parameter is null * If the URL parameter is null
*/ */
public Object unmarshal( java.net.URL url ) throws JAXBException; Object unmarshal(java.net.URL url) throws JAXBException;
/** /**
* Unmarshal XML data from the specified SAX InputSource and return the * Unmarshal XML data from the specified SAX InputSource and return the
...@@ -500,7 +500,7 @@ public interface Unmarshaller { ...@@ -500,7 +500,7 @@ public interface Unmarshaller {
* @throws IllegalArgumentException * @throws IllegalArgumentException
* If the InputSource parameter is null * If the InputSource parameter is null
*/ */
public Object unmarshal( org.xml.sax.InputSource source ) throws JAXBException; Object unmarshal(org.xml.sax.InputSource source) throws JAXBException;
/** /**
* Unmarshal global XML data from the specified DOM tree and return the resulting * Unmarshal global XML data from the specified DOM tree and return the resulting
...@@ -525,7 +525,7 @@ public interface Unmarshaller { ...@@ -525,7 +525,7 @@ public interface Unmarshaller {
* If the Node parameter is null * If the Node parameter is null
* @see #unmarshal(org.w3c.dom.Node, Class) * @see #unmarshal(org.w3c.dom.Node, Class)
*/ */
public Object unmarshal( org.w3c.dom.Node node ) throws JAXBException; Object unmarshal(org.w3c.dom.Node node) throws JAXBException;
/** /**
* Unmarshal XML data by Jakarta XML Binding mapped {@code declaredType} * Unmarshal XML data by Jakarta XML Binding mapped {@code declaredType}
...@@ -555,7 +555,7 @@ public interface Unmarshaller { ...@@ -555,7 +555,7 @@ public interface Unmarshaller {
* If any parameter is null * If any parameter is null
* @since 1.6, JAXB 2.0 * @since 1.6, JAXB 2.0
*/ */
public <T> JAXBElement<T> unmarshal( org.w3c.dom.Node node, Class<T> declaredType ) throws JAXBException; <T> JAXBElement<T> unmarshal(org.w3c.dom.Node node, Class<T> declaredType) throws JAXBException;
/** /**
* Unmarshal XML data from the specified XML Source and return the * Unmarshal XML data from the specified XML Source and return the
...@@ -613,7 +613,7 @@ public interface Unmarshaller { ...@@ -613,7 +613,7 @@ public interface Unmarshaller {
* If the Source parameter is null * If the Source parameter is null
* @see #unmarshal(javax.xml.transform.Source, Class) * @see #unmarshal(javax.xml.transform.Source, Class)
*/ */
public Object unmarshal( javax.xml.transform.Source source ) Object unmarshal(javax.xml.transform.Source source)
throws JAXBException; throws JAXBException;
...@@ -647,7 +647,7 @@ public interface Unmarshaller { ...@@ -647,7 +647,7 @@ public interface Unmarshaller {
* If any parameter is null * If any parameter is null
* @since 1.6, JAXB 2.0 * @since 1.6, JAXB 2.0
*/ */
public <T> JAXBElement<T> unmarshal( javax.xml.transform.Source source, Class<T> declaredType ) <T> JAXBElement<T> unmarshal(javax.xml.transform.Source source, Class<T> declaredType)
throws JAXBException; throws JAXBException;
/** /**
...@@ -684,7 +684,7 @@ public interface Unmarshaller { ...@@ -684,7 +684,7 @@ public interface Unmarshaller {
* @since 1.6, JAXB 2.0 * @since 1.6, JAXB 2.0
* @see #unmarshal(javax.xml.stream.XMLStreamReader, Class) * @see #unmarshal(javax.xml.stream.XMLStreamReader, Class)
*/ */
public Object unmarshal( javax.xml.stream.XMLStreamReader reader ) Object unmarshal(javax.xml.stream.XMLStreamReader reader)
throws JAXBException; throws JAXBException;
/** /**
...@@ -720,7 +720,7 @@ public interface Unmarshaller { ...@@ -720,7 +720,7 @@ public interface Unmarshaller {
* If any parameter is null * If any parameter is null
* @since 1.6, JAXB 2.0 * @since 1.6, JAXB 2.0
*/ */
public <T> JAXBElement<T> unmarshal( javax.xml.stream.XMLStreamReader reader, Class<T> declaredType ) throws JAXBException; <T> JAXBElement<T> unmarshal(javax.xml.stream.XMLStreamReader reader, Class<T> declaredType) throws JAXBException;
/** /**
* Unmarshal XML data from the specified pull parser and return the * Unmarshal XML data from the specified pull parser and return the
...@@ -756,7 +756,7 @@ public interface Unmarshaller { ...@@ -756,7 +756,7 @@ public interface Unmarshaller {
* @since 1.6, JAXB 2.0 * @since 1.6, JAXB 2.0
* @see #unmarshal(javax.xml.stream.XMLEventReader, Class) * @see #unmarshal(javax.xml.stream.XMLEventReader, Class)
*/ */
public Object unmarshal( javax.xml.stream.XMLEventReader reader ) Object unmarshal(javax.xml.stream.XMLEventReader reader)
throws JAXBException; throws JAXBException;
/** /**
...@@ -793,7 +793,7 @@ public interface Unmarshaller { ...@@ -793,7 +793,7 @@ public interface Unmarshaller {
* If any parameter is null * If any parameter is null
* @since 1.6, JAXB 2.0 * @since 1.6, JAXB 2.0
*/ */
public <T> JAXBElement<T> unmarshal( javax.xml.stream.XMLEventReader reader, Class<T> declaredType ) throws JAXBException; <T> JAXBElement<T> unmarshal(javax.xml.stream.XMLEventReader reader, Class<T> declaredType) throws JAXBException;
/** /**
* Get an unmarshaller handler object that can be used as a component in * Get an unmarshaller handler object that can be used as a component in
...@@ -809,7 +809,7 @@ public interface Unmarshaller { ...@@ -809,7 +809,7 @@ public interface Unmarshaller {
* @return the unmarshaller handler object * @return the unmarshaller handler object
* @see UnmarshallerHandler * @see UnmarshallerHandler
*/ */
public UnmarshallerHandler getUnmarshallerHandler(); UnmarshallerHandler getUnmarshallerHandler();
/** /**
* Allow an application to register a {@code ValidationEventHandler}. * Allow an application to register a {@code ValidationEventHandler}.
...@@ -829,7 +829,7 @@ public interface Unmarshaller { ...@@ -829,7 +829,7 @@ public interface Unmarshaller {
* @throws JAXBException if an error was encountered while setting the * @throws JAXBException if an error was encountered while setting the
* event handler * event handler
*/ */
public void setEventHandler( ValidationEventHandler handler ) void setEventHandler(ValidationEventHandler handler)
throws JAXBException; throws JAXBException;
/** /**
...@@ -841,7 +841,7 @@ public interface Unmarshaller { ...@@ -841,7 +841,7 @@ public interface Unmarshaller {
* @throws JAXBException if an error was encountered while getting the * @throws JAXBException if an error was encountered while getting the
* current event handler * current event handler
*/ */
public ValidationEventHandler getEventHandler() ValidationEventHandler getEventHandler()
throws JAXBException; throws JAXBException;
/** /**
...@@ -862,7 +862,7 @@ public interface Unmarshaller { ...@@ -862,7 +862,7 @@ public interface Unmarshaller {
* @throws IllegalArgumentException * @throws IllegalArgumentException
* If the name parameter is null * If the name parameter is null
*/ */
public void setProperty( String name, Object value ) void setProperty(String name, Object value)
throws PropertyException; throws PropertyException;
/** /**
...@@ -882,7 +882,7 @@ public interface Unmarshaller { ...@@ -882,7 +882,7 @@ public interface Unmarshaller {
* @throws IllegalArgumentException * @throws IllegalArgumentException
* If the name parameter is null * If the name parameter is null
*/ */
public Object getProperty( String name ) throws PropertyException; Object getProperty(String name) throws PropertyException;
/** /**
* Specify the JAXP {@link javax.xml.validation.Schema Schema} * Specify the JAXP {@link javax.xml.validation.Schema Schema}
...@@ -898,7 +898,7 @@ public interface Unmarshaller { ...@@ -898,7 +898,7 @@ public interface Unmarshaller {
* JAXB 1.0 mapped classes * JAXB 1.0 mapped classes
* @since 1.6, JAXB 2.0 * @since 1.6, JAXB 2.0
*/ */
public void setSchema( Schema schema ); void setSchema(Schema schema);
/** /**
* Get the JAXP {@link javax.xml.validation.Schema Schema} object * Get the JAXP {@link javax.xml.validation.Schema Schema} object
...@@ -913,7 +913,7 @@ public interface Unmarshaller { ...@@ -913,7 +913,7 @@ public interface Unmarshaller {
* JAXB 1.0 mapped classes * JAXB 1.0 mapped classes
* @since 1.6, JAXB 2.0 * @since 1.6, JAXB 2.0
*/ */
public Schema getSchema(); Schema getSchema();
/** /**
* Associates a configured instance of {@link XmlAdapter} with this unmarshaller. * Associates a configured instance of {@link XmlAdapter} with this unmarshaller.
...@@ -932,7 +932,7 @@ public interface Unmarshaller { ...@@ -932,7 +932,7 @@ public interface Unmarshaller {
* if invoked agains a JAXB 1.0 implementation. * if invoked agains a JAXB 1.0 implementation.
* @since 1.6, JAXB 2.0 * @since 1.6, JAXB 2.0
*/ */
public <A extends XmlAdapter<?, ?>> void setAdapter( A adapter ); <A extends XmlAdapter<?, ?>> void setAdapter(A adapter);
/** /**
* Associates a configured instance of {@link XmlAdapter} with this unmarshaller. * Associates a configured instance of {@link XmlAdapter} with this unmarshaller.
...@@ -964,7 +964,7 @@ public interface Unmarshaller { ...@@ -964,7 +964,7 @@ public interface Unmarshaller {
* if invoked agains a JAXB 1.0 implementation. * if invoked agains a JAXB 1.0 implementation.
* @since 1.6, JAXB 2.0 * @since 1.6, JAXB 2.0
*/ */
public <A extends XmlAdapter<?, ?>> void setAdapter( Class<A> type, A adapter ); <A extends XmlAdapter<?, ?>> void setAdapter(Class<A> type, A adapter);
/** /**
* Gets the adapter associated with the specified type. * Gets the adapter associated with the specified type.
...@@ -987,7 +987,7 @@ public interface Unmarshaller { ...@@ -987,7 +987,7 @@ public interface Unmarshaller {
* if invoked agains a JAXB 1.0 implementation. * if invoked agains a JAXB 1.0 implementation.
* @since 1.6, JAXB 2.0 * @since 1.6, JAXB 2.0
*/ */
public <A extends XmlAdapter<?, ?>> A getAdapter( Class<A> type ); <A extends XmlAdapter<?, ?>> A getAdapter(Class<A> type);
/** /**
* Associate a context that resolves cid's, content-id URIs, to * Associate a context that resolves cid's, content-id URIs, to
...@@ -1025,7 +1025,7 @@ public interface Unmarshaller { ...@@ -1025,7 +1025,7 @@ public interface Unmarshaller {
* *
* @since 1.6, JAXB 2.0 * @since 1.6, JAXB 2.0
*/ */
public static abstract class Listener { abstract class Listener {
/** /**
* Do-nothing constructor for the derived classes. * Do-nothing constructor for the derived classes.
...@@ -1080,7 +1080,7 @@ public interface Unmarshaller { ...@@ -1080,7 +1080,7 @@ public interface Unmarshaller {
* @param listener provides unmarshal event callbacks for this {@link Unmarshaller} * @param listener provides unmarshal event callbacks for this {@link Unmarshaller}
* @since 1.6, JAXB 2.0 * @since 1.6, JAXB 2.0
*/ */
public void setListener(Listener listener); void setListener(Listener listener);
/** /**
* <p>Return {@link Listener} registered with this {@link Unmarshaller}. * <p>Return {@link Listener} registered with this {@link Unmarshaller}.
...@@ -1089,5 +1089,5 @@ public interface Unmarshaller { ...@@ -1089,5 +1089,5 @@ public interface Unmarshaller {
* if no Listener is registered with this Unmarshaller. * if no Listener is registered with this Unmarshaller.
* @since 1.6, JAXB 2.0 * @since 1.6, JAXB 2.0
*/ */
public Listener getListener(); Listener getListener();
} }
...@@ -26,19 +26,19 @@ public interface ValidationEvent { ...@@ -26,19 +26,19 @@ public interface ValidationEvent {
* Conditions that are not errors or fatal errors as defined by the * Conditions that are not errors or fatal errors as defined by the
* XML 1.0 recommendation * XML 1.0 recommendation
*/ */
public static final int WARNING = 0; int WARNING = 0;
/** /**
* Conditions that correspond to the definition of "error" in section * Conditions that correspond to the definition of "error" in section
* 1.2 of the W3C XML 1.0 Recommendation * 1.2 of the W3C XML 1.0 Recommendation
*/ */
public static final int ERROR = 1; int ERROR = 1;
/** /**
* Conditions that correspond to the definition of "fatal error" in section * Conditions that correspond to the definition of "fatal error" in section
* 1.2 of the W3C XML 1.0 Recommendation * 1.2 of the W3C XML 1.0 Recommendation
*/ */
public static final int FATAL_ERROR = 2; int FATAL_ERROR = 2;
/** /**
* Retrieve the severity code for this warning/error. * Retrieve the severity code for this warning/error.
...@@ -49,14 +49,14 @@ public interface ValidationEvent { ...@@ -49,14 +49,14 @@ public interface ValidationEvent {
* *
* @return the severity code for this warning/error * @return the severity code for this warning/error
*/ */
public int getSeverity(); int getSeverity();
/** /**
* Retrieve the text message for this warning/error. * Retrieve the text message for this warning/error.
* *
* @return the text message for this warning/error or null if one wasn't set * @return the text message for this warning/error or null if one wasn't set
*/ */
public String getMessage(); String getMessage();
/** /**
* Retrieve the linked exception for this warning/error. * Retrieve the linked exception for this warning/error.
...@@ -64,13 +64,13 @@ public interface ValidationEvent { ...@@ -64,13 +64,13 @@ public interface ValidationEvent {
* @return the linked exception for this warning/error or null if one * @return the linked exception for this warning/error or null if one
* wasn't set * wasn't set
*/ */
public Throwable getLinkedException(); Throwable getLinkedException();
/** /**
* Retrieve the locator for this warning/error. * Retrieve the locator for this warning/error.
* *
* @return the locator that indicates where the warning/error occurred * @return the locator that indicates where the warning/error occurred
*/ */
public ValidationEventLocator getLocator(); ValidationEventLocator getLocator();
} }
...@@ -80,7 +80,7 @@ public interface ValidationEventHandler { ...@@ -80,7 +80,7 @@ public interface ValidationEventHandler {
* {@code ValidationException}, or {@code MarshalException}. * {@code ValidationException}, or {@code MarshalException}.
* @throws IllegalArgumentException if the event object is null. * @throws IllegalArgumentException if the event object is null.
*/ */
public boolean handleEvent( ValidationEvent event ); boolean handleEvent(ValidationEvent event);
} }
...@@ -35,28 +35,28 @@ public interface ValidationEventLocator { ...@@ -35,28 +35,28 @@ public interface ValidationEventLocator {
* *
* @return the name of the XML source as a URL or null if unavailable * @return the name of the XML source as a URL or null if unavailable
*/ */
public java.net.URL getURL(); java.net.URL getURL();
/** /**
* Return the byte offset if available * Return the byte offset if available
* *
* @return the byte offset into the input source or -1 if unavailable * @return the byte offset into the input source or -1 if unavailable
*/ */
public int getOffset(); int getOffset();
/** /**
* Return the line number if available * Return the line number if available
* *
* @return the line number or -1 if unavailable * @return the line number or -1 if unavailable
*/ */
public int getLineNumber(); int getLineNumber();
/** /**
* Return the column number if available * Return the column number if available
* *
* @return the column number or -1 if unavailable * @return the column number or -1 if unavailable
*/ */
public int getColumnNumber(); int getColumnNumber();
/** /**
* Return a reference to the object in the Java content tree if available * Return a reference to the object in the Java content tree if available
...@@ -64,13 +64,13 @@ public interface ValidationEventLocator { ...@@ -64,13 +64,13 @@ public interface ValidationEventLocator {
* @return a reference to the object in the Java content tree or null if * @return a reference to the object in the Java content tree or null if
* unavailable * unavailable
*/ */
public java.lang.Object getObject(); java.lang.Object getObject();
/** /**
* Return a reference to the DOM Node if available * Return a reference to the DOM Node if available
* *
* @return a reference to the DOM Node or null if unavailable * @return a reference to the DOM Node or null if unavailable
*/ */
public org.w3c.dom.Node getNode(); org.w3c.dom.Node getNode();
} }
...@@ -189,7 +189,7 @@ public @interface XmlElement { ...@@ -189,7 +189,7 @@ public @interface XmlElement {
* signal that the type be inferred from the signature * signal that the type be inferred from the signature
* of the property. * of the property.
*/ */
static final class DEFAULT { final class DEFAULT {
private DEFAULT() {} private DEFAULT() {}
} }
} }
...@@ -198,7 +198,7 @@ public @interface XmlElementDecl { ...@@ -198,7 +198,7 @@ public @interface XmlElementDecl {
* Used in {@link XmlElementDecl#scope()} to * Used in {@link XmlElementDecl#scope()} to
* signal that the declaration is in the global scope. * signal that the declaration is in the global scope.
*/ */
public final class GLOBAL { final class GLOBAL {
private GLOBAL() {} private GLOBAL() {}
} }
} }
...@@ -250,7 +250,7 @@ public @interface XmlElementRef { ...@@ -250,7 +250,7 @@ public @interface XmlElementRef {
* signal that the type be inferred from the signature * signal that the type be inferred from the signature
* of the property. * of the property.
*/ */
static final class DEFAULT { final class DEFAULT {
private DEFAULT() {} private DEFAULT() {}
} }
......
...@@ -190,5 +190,5 @@ public @interface XmlSchema { ...@@ -190,5 +190,5 @@ public @interface XmlSchema {
*/ */
// the actual value is chosen because ## is not a valid // the actual value is chosen because ## is not a valid
// sequence in xs:anyURI. // sequence in xs:anyURI.
static final String NO_LOCATION = "##generate"; String NO_LOCATION = "##generate";
} }
...@@ -89,7 +89,7 @@ public @interface XmlSchemaType { ...@@ -89,7 +89,7 @@ public @interface XmlSchemaType {
* of the property. * of the property.
*/ */
static final class DEFAULT { final class DEFAULT {
private DEFAULT() {}; private DEFAULT() {};
} }
......
...@@ -431,7 +431,7 @@ public @interface XmlType { ...@@ -431,7 +431,7 @@ public @interface XmlType {
* signal that either factory mehod is not used or * signal that either factory mehod is not used or
* that it's in the class with this {@link XmlType} itself. * that it's in the class with this {@link XmlType} itself.
*/ */
static final class DEFAULT { final class DEFAULT {
private DEFAULT() {} private DEFAULT() {}
} }
......
...@@ -97,7 +97,7 @@ public @interface XmlJavaTypeAdapter { ...@@ -97,7 +97,7 @@ public @interface XmlJavaTypeAdapter {
* of the field, property, parameter or the class. * of the field, property, parameter or the class.
*/ */
static final class DEFAULT { final class DEFAULT {
private DEFAULT() {} private DEFAULT() {}
} }
......
...@@ -477,11 +477,11 @@ It provides the basic marshalling methods: ...@@ -477,11 +477,11 @@ It provides the basic marshalling methods:
[source,java] [source,java]
---- ----
interface Marshaller { interface Marshaller {
static final string JAXB_ENCODING; string JAXB_ENCODING;
static final string JAXB_FORMATTED_OUTPUT; string JAXB_FORMATTED_OUTPUT;
static final string JAXB_SCHEMA_LOCATION; string JAXB_SCHEMA_LOCATION;
static final string JAXB_NO_NAMESPACE_SCHEMA_LOCATION; string JAXB_NO_NAMESPACE_SCHEMA_LOCATION;
static final string JAXB_FRAGMENT; string JAXB_FRAGMENT;
<PROTENTIALLY MORE PROPERTIES...> <PROTENTIALLY MORE PROPERTIES...>
......
...@@ -701,7 +701,7 @@ public @interface XmlSchemaType { ...@@ -701,7 +701,7 @@ public @interface XmlSchemaType {
String name(); String name();
String namespace() default "http://www.w3.org/2001/XMLSchema"; String namespace() default "http://www.w3.org/2001/XMLSchema";
Class type() default DEFAULT.class; Class type() default DEFAULT.class;
static final class DEFAULT {} final class DEFAULT {}
} }
---- ----
...@@ -838,7 +838,7 @@ public @interface XmlType { ...@@ -838,7 +838,7 @@ public @interface XmlType {
String[] propOrder() default {""}; String[] propOrder() default {""};
String namespace() default "##default"; String namespace() default "##default";
Class factoryClass() default DEFAULT.class; Class factoryClass() default DEFAULT.class;
static final class DEFAULT {}; final class DEFAULT {};
String factoryMethod() default ""; String factoryMethod() default "";
} }
---- ----
...@@ -1264,7 +1264,7 @@ public @interface XmlType { ...@@ -1264,7 +1264,7 @@ public @interface XmlType {
String namespace() default "##default"; String namespace() default "##default";
String[] propOrder() default {""}; String[] propOrder() default {""};
Class factoryClass() default DEFAULT.class; Class factoryClass() default DEFAULT.class;
static final class DEFAULT {}; final class DEFAULT {};
String factoryMethod() default ""; String factoryMethod() default "";
} }
---- ----
...@@ -2488,7 +2488,7 @@ public @interface XmlElementDecl { ...@@ -2488,7 +2488,7 @@ public @interface XmlElementDecl {
//XML local name of a substitution group's head element. //XML local name of a substitution group's head element.
String substitutionHeadName() default ""; String substitutionHeadName() default "";
public final class GLOBAL {} final class GLOBAL {}
} }
---- ----
...@@ -2593,7 +2593,7 @@ For detailed information, see the javadocs for ...@@ -2593,7 +2593,7 @@ For detailed information, see the javadocs for
public @interface XmlJavaTypeAdapter { public @interface XmlJavaTypeAdapter {
Class<? extends XmlAdapter> value(); Class<? extends XmlAdapter> value();
Class type() default DEFAULT.class; Class type() default DEFAULT.class;
static final class DEFAULT {} final class DEFAULT {}
} }
---- ----
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment