- All Superinterfaces:
Encode
- All Known Implementing Classes:
TextWriter,XhtmlAttributeWriter,XhtmlWriter
- Author:
- AO Industries, Inc.
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Encoding of arbitrary content types is not expected since all supported types have per-type methods.default XhtmlAttributeDeprecated.Encoding of arbitrary content types is not expected since all supported types have per-type methods.default XhtmlAttributeDeprecated.Encoding of arbitrary content types is not expected since all supported types have per-type methods.default XhtmlAttributeDeprecated.Encoding of arbitrary content types is not expected since all supported types have per-type methods.default <Ex extends Throwable>
XhtmlAttributeencode(MediaType contentType, MediaWritable<Ex> content) Deprecated.Encoding of arbitrary content types is not expected since all supported types have per-type methods.default <Ex extends Throwable>
XhtmlAttributeencode(MediaType contentType, IOSupplierE<?, Ex> content) Deprecated.Encoding of arbitrary content types is not expected since all supported types have per-type methods.encode(MediaType contentType, CharSequence csq) Deprecated.Encoding of arbitrary content types is not expected since all supported types have per-type methods.encode(MediaType contentType, CharSequence csq, int start, int end) Deprecated.Encoding of arbitrary content types is not expected since all supported types have per-type methods.Deprecated.Encoding of arbitrary content types is not expected since all supported types have per-type methods.default XhtmlAttributeWriterWrites the given (X)HTML Attribute with proper encoding.default XhtmlAttributexhtmlAttribute(char ch) Writes the given (X)HTML Attribute with proper encoding.default XhtmlAttributexhtmlAttribute(char[] cbuf) Writes the given (X)HTML Attribute with proper encoding.default XhtmlAttributexhtmlAttribute(char[] cbuf, int offset, int len) Writes the given (X)HTML Attribute with proper encoding.default <Ex extends Throwable>
XhtmlAttributexhtmlAttribute(XhtmlAttributeWritable<Ex> xhtmlAttribute) Writes the given (X)HTML Attribute with proper encoding.default <Ex extends Throwable>
XhtmlAttributexhtmlAttribute(IOSupplierE<?, Ex> xhtmlAttribute) Writes the given (X)HTML Attribute with proper encoding.default XhtmlAttributeWrites the given (X)HTML Attribute with proper encoding.default XhtmlAttributexhtmlAttribute(CharSequence csq, int start, int end) Writes the given (X)HTML Attribute with proper encoding.default XhtmlAttributexhtmlAttribute(Object xhtmlAttribute) Writes the given (X)HTML Attribute with proper encoding.
-
Method Details
-
encode
Deprecated.Encoding of arbitrary content types is not expected since all supported types have per-type methods.Encodes the given nested type with proper encoding.- Specified by:
encodein interfaceEncode- Returns:
thiswriter- Throws:
IOException
-
encode
Deprecated.Encoding of arbitrary content types is not expected since all supported types have per-type methods.Encodes the given nested type with proper encoding.- Specified by:
encodein interfaceEncode- Returns:
thiswriter- Throws:
IOException
-
encode
@Deprecated default XhtmlAttribute encode(MediaType contentType, char[] cbuf, int offset, int len) throws IOException Deprecated.Encoding of arbitrary content types is not expected since all supported types have per-type methods.Encodes the given nested type with proper encoding.- Specified by:
encodein interfaceEncode- Returns:
thiswriter- Throws:
IOException
-
encode
Deprecated.Encoding of arbitrary content types is not expected since all supported types have per-type methods.Encodes the given nested type with proper encoding.Adds prefixes and suffixes by media type, such as
"…".If the string is translated, comments will be added giving the translation lookup id to aid in translation of server-translated values.
- Specified by:
encodein interfaceEncode- Returns:
thiswriter- Throws:
IOException
-
encode
@Deprecated XhtmlAttribute encode(MediaType contentType, CharSequence csq, int start, int end) throws IOException Deprecated.Encoding of arbitrary content types is not expected since all supported types have per-type methods.Encodes the given nested type with proper encoding.Adds prefixes and suffixes by media type, such as
"…".If the string is translated, comments will be added giving the translation lookup id to aid in translation of server-translated values.
- Specified by:
encodein interfaceEncode- Returns:
thiswriter- Throws:
IOException
-
encode
Deprecated.Encoding of arbitrary content types is not expected since all supported types have per-type methods.Encodes the given nested type with proper encoding.Adds prefixes and suffixes by media type, such as
"…".If the string is translated, comments will be added giving the translation lookup id to aid in translation of server-translated values.
- Specified by:
encodein interfaceEncode- Returns:
thiswriter- Throws:
IOException
-
encode
@Deprecated default <Ex extends Throwable> XhtmlAttribute encode(MediaType contentType, IOSupplierE<?, Ex> content) throws IOException, ExDeprecated.Encoding of arbitrary content types is not expected since all supported types have per-type methods.Encodes the given nested type with proper encoding.Adds prefixes and suffixes by media type, such as
"…".If the string is translated, comments will be added giving the translation lookup id to aid in translation of server-translated values.
- Specified by:
encodein interfaceEncode- Type Parameters:
Ex- An arbitrary exception type that may be thrown- Returns:
thiswriter- Throws:
IOExceptionEx
-
encode
@Deprecated default <Ex extends Throwable> XhtmlAttribute encode(MediaType contentType, MediaWritable<Ex> content) throws IOException, Ex Deprecated.Encoding of arbitrary content types is not expected since all supported types have per-type methods.Encodes the given nested type with proper encoding.Adds prefixes and suffixes by media type, such as
"…".Does not perform any translation markups.
- Specified by:
encodein interfaceEncode- Type Parameters:
Ex- An arbitrary exception type that may be thrown- Returns:
thiswriter- Throws:
IOExceptionEx
-
encode
Deprecated.Encoding of arbitrary content types is not expected since all supported types have per-type methods.Encodes the given nested type with proper encoding. This is well suited for use in a try-with-resources block.Adds prefixes and suffixes by media type, such as
"…".Does not perform any translation markups.
- Specified by:
encodein interfaceEncode- Returns:
- A new writer that may be used for the given content type.
This writer must be closed for completed calls to
MediaEncoder.writeSuffixTo(java.lang.Appendable, boolean).The returned writer will be of the specific subclass of
MediaWritermatchingcontentType(seeMediaType.getMediaWriterClass(). This meansMediaWriter.getValidMediaInputType()will becontentType. - Throws:
IOException
-
xhtmlAttribute
- Returns:
thiswriter- Throws:
IOException
-
xhtmlAttribute
- Returns:
thiswriter- Throws:
IOException
-
xhtmlAttribute
- Returns:
thiswriter- Throws:
IOException
-
xhtmlAttribute
Writes the given (X)HTML Attribute with proper encoding.Adds prefixes and suffixes by media type.
If the string is translated, comments will be added giving the translation lookup id to aid in translation of server-translated values.
- Returns:
thiswriter- Throws:
IOException
-
xhtmlAttribute
Writes the given (X)HTML Attribute with proper encoding.Adds prefixes and suffixes by media type.
If the string is translated, comments will be added giving the translation lookup id to aid in translation of server-translated values.
- Returns:
thiswriter- Throws:
IOException
-
xhtmlAttribute
Writes the given (X)HTML Attribute with proper encoding.Adds prefixes and suffixes by media type.
If the string is translated, comments will be added giving the translation lookup id to aid in translation of server-translated values.
- Returns:
thiswriter- Throws:
IOException
-
xhtmlAttribute
default <Ex extends Throwable> XhtmlAttribute xhtmlAttribute(IOSupplierE<?, Ex> xhtmlAttribute) throws IOException, ExWrites the given (X)HTML Attribute with proper encoding.Adds prefixes and suffixes by media type.
If the string is translated, comments will be added giving the translation lookup id to aid in translation of server-translated values.
- Type Parameters:
Ex- An arbitrary exception type that may be thrown- Returns:
thiswriter- Throws:
IOExceptionEx
-
xhtmlAttribute
default <Ex extends Throwable> XhtmlAttribute xhtmlAttribute(XhtmlAttributeWritable<Ex> xhtmlAttribute) throws IOException, Ex Writes the given (X)HTML Attribute with proper encoding.Adds prefixes and suffixes by media type.
Does not perform any translation markups.
- Type Parameters:
Ex- An arbitrary exception type that may be thrown- Returns:
thiswriter- Throws:
IOExceptionEx
-
xhtmlAttribute
Writes the given (X)HTML Attribute with proper encoding. This is well suited for use in a try-with-resources block.Adds prefixes and suffixes by media type.
Does not perform any translation markups.
- Returns:
- A new writer that may be used for arbitrary (X)HTML Attribute.
This writer must be closed for completed calls to
MediaEncoder.writeSuffixTo(java.lang.Appendable, boolean). - Throws:
IOException
-
