Package nbbrd.io.xml
Class Stax
- java.lang.Object
-
- nbbrd.io.xml.Stax
-
public class Stax extends Object
- Author:
- Philippe Charles
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStax.EventFormatter<T>static classStax.EventParser<T>static interfaceStax.FlowHandler<I,T>static interfaceStax.OutputHandler<O,T>Deprecated.static interfaceStax.OutputHandler2<O,T>static classStax.StreamFormatter<T>static classStax.StreamParser<T>static interfaceStax.ValueHandler<I,T>
-
Constructor Summary
Constructors Constructor Description Stax()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidpreventXXE(@NonNull XMLInputFactory factory)Prevents XXE vulnerability by disabling features.IOExceptiontoIOException(XMLStreamException ex)
-
-
-
Method Detail
-
preventXXE
public void preventXXE(@NonNull XMLInputFactory factory)
Prevents XXE vulnerability by disabling features.- Parameters:
factory- non-null factory- See Also:
- XXE
-
toIOException
public IOException toIOException(XMLStreamException ex)
-
-