JDOM
2.0.5

org.jdom2.output
Interface EscapeStrategy


public interface EscapeStrategy

Logic to determine which characters should be formatted as character entities.

Author:
Alex Rosen, Bradley S. Huffman, Jason Hunter

Method Summary
 boolean shouldEscape(char ch)
          Test whether the supplied character should be formatted literally or as a character entity.
 

Method Detail

shouldEscape

boolean shouldEscape(char ch)
Test whether the supplied character should be formatted literally or as a character entity.

Parameters:
ch - The char to test to determine whether it should be escaped.
Returns:
true if ch should be escaped.

JDOM
2.0.5

Copyright 2013 Jason Hunter, Brett McLaughlin. All Rights Reserved.