Package hudson.util.io
Class ParserConfigurator
java.lang.Object
hudson.util.io.ParserConfigurator
- All Implemented Interfaces:
ExtensionPoint
,Serializable
@Deprecated
public abstract class ParserConfigurator
extends Object
implements ExtensionPoint, Serializable
Deprecated.
No longer used.
Configures XML parsers to be used for various XML parsing activities inside Jenkins.
XML parsing is a complex enough activity that often certain degree of customization of the parsing behaviour is desired. This extension point enables that. To avoid creating new extension point for each different parsing scene, this extension point takes the type-less "context" argument, which should identify the context of the parse by type.
This extension point is added late in the game, so existing XML parsing behaviour should be retrofitted to use this as we find them. Similarly, additional overloaded versions are likely needed to support SAX, JAXP, and other means of parsing.
- Since:
- 1.416
- Author:
- Kohsuke Kawaguchi
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ExtensionList<ParserConfigurator>
all()
Deprecated.Returns all the registeredParserConfigurator
s.static void
applyConfiguration
(org.dom4j.io.SAXReader reader, Object context) Deprecated.void
Deprecated.Configures the givenSAXReader
-
Constructor Details
-
ParserConfigurator
public ParserConfigurator()Deprecated.
-
-
Method Details
-
configure
Deprecated.Configures the givenSAXReader
- Parameters:
context
- Object that represents the context in which the parser is used. It is up to the caller to decide what to pass in here.
-
all
Deprecated.Returns all the registeredParserConfigurator
s. -
applyConfiguration
public static void applyConfiguration(org.dom4j.io.SAXReader reader, Object context) throws IOException, InterruptedException Deprecated.- Throws:
IOException
InterruptedException
-