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 Static Methods Concrete Methods Modifier and Type Method Description static voidpreventXXE(@NonNull XMLInputFactory factory)Prevents XXE vulnerability by disabling features.static @NonNull IOExceptiontoIOException(@NonNull XMLStreamException ex)
-
-
-
Method Detail
-
preventXXE
public static void preventXXE(@NonNull XMLInputFactory factory)
Prevents XXE vulnerability by disabling features.- Parameters:
factory- non-null factory- See Also:
- XXE
-
toIOException
public static @NonNull IOException toIOException(@NonNull XMLStreamException ex)
-
-