public class ParserUtils extends Object
Modifier and Type | Field and Description |
---|---|
static Property |
EMBEDDED_EXCEPTION |
static Property |
EMBEDDED_PARSER |
static String |
X_PARSED_BY |
Constructor and Description |
---|
ParserUtils() |
Modifier and Type | Method and Description |
---|---|
static Metadata |
cloneMetadata(Metadata m)
Does a deep clone of a Metadata object.
|
static String |
getParserClassname(Parser parser)
Identifies the real class name of the
Parser , unwrapping
any ParserDecorator decorations on top of it. |
static void |
recordParserDetails(Parser parser,
Metadata metadata)
|
static void |
recordParserFailure(Parser parser,
Throwable failure,
Metadata metadata)
|
public static final String X_PARSED_BY
public static final Property EMBEDDED_PARSER
public static final Property EMBEDDED_EXCEPTION
Copyright © 2007–1969 The Apache Software Foundation. All rights reserved.