public class ParserUtils
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static Property |
EMBEDDED_EXCEPTION |
static Property |
EMBEDDED_PARSER |
static java.lang.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 java.lang.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,
java.lang.Throwable failure,
Metadata metadata)
|
public static final java.lang.String X_PARSED_BY
public static final Property EMBEDDED_PARSER
public static final Property EMBEDDED_EXCEPTION
public static Metadata cloneMetadata(Metadata m)
public static java.lang.String getParserClassname(Parser parser)
Parser
, unwrapping
any ParserDecorator
decorations on top of it."Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"