public class XMLProtector extends Object
protect(InputStreamReader) returns false, an unrecoverable error has
occurred (such as not-wellformed XML or an element name length exceeded the limit),
the OutputStreamWriter is left at this position: It should be discarded and
an error response should be returned to the requestor.| Constructor and Description |
|---|
XMLProtector(OutputStreamWriter osw,
boolean removeDTD,
int maxElementNameLength,
int maxAttibuteCount) |
public XMLProtector(OutputStreamWriter osw, boolean removeDTD, int maxElementNameLength, int maxAttibuteCount) throws Exception
Exceptionpublic boolean protect(InputStreamReader isr)
Copyright © 2012. All Rights Reserved.