- java.lang.Object
-
- org.glassfish.jaxb.core.marshaller.NoEscapeHandler
-
- All Implemented Interfaces:
CharacterEscapeHandler
public class NoEscapeHandler extends Object implements CharacterEscapeHandler
Performs no character escaping.- Author:
- Roman Grigoriadi ([email protected])
-
-
Field Summary
Fields Modifier and Type Field Description static NoEscapeHandler
theInstance
-
Constructor Summary
Constructors Constructor Description NoEscapeHandler()
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
escape(char[] ch, int start, int length, boolean isAttVal, Writer out)
-
-
-
Field Detail
-
theInstance
public static final NoEscapeHandler theInstance
-
-
Method Detail
-
escape
public void escape(char[] ch, int start, int length, boolean isAttVal, Writer out) throws IOException
- Specified by:
escape
in interfaceCharacterEscapeHandler
- Parameters:
ch
- The array of characters.start
- The starting position.length
- The number of characters to use.isAttVal
- true if this is an attribute value literal.- Throws:
IOException
-
-