Uses of Enum Class
com.sdl.delivery.security.xml.XmlRestriction
Packages that use XmlRestriction
-
Uses of XmlRestriction in com.sdl.delivery.security.xml
Methods in com.sdl.delivery.security.xml that return XmlRestrictionModifier and TypeMethodDescriptionstatic XmlRestriction[]XmlRestriction.makeForLocalFiles()Provides a full list of possible allowance to enable XLST working with local files.static XmlRestriction[]XmlRestriction.makeForRemoteFiles()Provides a full list of possible allowance to enable XLST working with remote files.static XmlRestrictionReturns the enum constant of this class with the specified name.static XmlRestriction[]XmlRestriction.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.sdl.delivery.security.xml with parameters of type XmlRestrictionModifier and TypeMethodDescriptionstatic DocumentBuilderFactorySecureXmlProcessingUtils.createDocumentBuilderFactory(XmlRestriction... restrictions) This method creates a factory which is safe from XXE vulnerability/ See http://cwe.mitre.org/data/definitions/611.html for details.static SAXTransformerFactorySecureXmlProcessingUtils.createSaxTransformerFactory(XmlRestriction... restrictions) Creates a SAX transformer factory to use in XSLT.static TransformerSecureXmlProcessingUtils.createTransformer(XmlRestriction... restrictions) Creates a secured transformer for XSLT.static TransformerSecureXmlProcessingUtils.createTransformer(String stylesheet, Optional<Map<String, Object>> transformParameters, XmlRestriction... restrictions) Creates a secured transformer for XSLT.static TransformerFactorySecureXmlProcessingUtils.createTransformerFactory(XmlRestriction... restrictions) Creates a transformer factory to use in XSLT.static ValidatorSecureXmlProcessingUtils.createValidator(InputStream xsdStream, XmlRestriction... restrictions) Creates a XML validator to verify XMLs by provided schema.static ValidatorSecureXmlProcessingUtils.createValidator(String xsdContent, XmlRestriction... restrictions) Creates a XML validator to verify XMLs by provided schema.static XMLInputFactorySecureXmlProcessingUtils.createXmlInputFactory(XmlRestriction... restrictions) Creates a XML input factory to use in XSLT Steam Reader. -
Uses of XmlRestriction in com.sdl.delivery.security.xml.processor
Methods in com.sdl.delivery.security.xml.processor with parameters of type XmlRestrictionModifier and TypeMethodDescriptionSecureDocumentBuilderFactoryProcessor.createFactory(XmlRestriction... restrictions) SecureTransformerFactoryProcessor.createSaxTransformerFactory(XmlRestriction... restrictions) Returns SAX transformer factory (xerces) instead of default (xalan) one.SecureXmlInputFactoryProcessor.createSecureInputFactory(XmlRestriction[] restrictions) SecureTransformerFactoryProcessor.createTransformer(String stylesheet, Optional<Map<String, Object>> transformParameters, XmlRestriction... restrictions) SecureTransformerFactoryProcessor.createTransformerFactory(XmlRestriction... restrictions) SecureXmlValidatorProcessor.createValidator(InputStream xsdStream, XmlRestriction... restrictions) SecureXmlValidatorProcessor.createValidator(String xsdContent, XmlRestriction... restrictions)