Top Description Methods
org.glassfish.jaxb.core.marshaller

public Interface CharacterEscapeHandler

Known Direct Implementers
org.glassfish.jaxb.core.marshaller.DumbEscapeHandler, org.glassfish.jaxb.core.marshaller.MinimumEscapeHandler, org.glassfish.jaxb.core.marshaller.NoEscapeHandler, org.glassfish.jaxb.runtime.marshaller.NioEscapeHandler
Imports
java.io.IOException, .Writer

Performs character escaping and write the result to the output.
Author
Kohsuke Kawaguchi ([email protected])
Since
1.0.1

Method Summary

Modifier and TypeMethod and Description
public void
escape(char[]
The array of characters.
ch
,
int
The starting position.
start
,
int
The number of characters to use.
length
,
boolean
true if this is an attribute value literal.
isAttVal
,
Writer out)

Method Detail

escapeback to summary
public void escape(char[] ch, int start, int length, boolean isAttVal, Writer out) throws IOException
Parameters
ch:char[]

The array of characters.

start:int

The starting position.

length:int

The number of characters to use.

isAttVal:boolean

true if this is an attribute value literal.