Package com.evolveum.midpoint.prism.impl
Class ParsingContextImpl
- java.lang.Object
-
- com.evolveum.midpoint.prism.impl.ParsingContextImpl
-
- All Implemented Interfaces:
ParsingContext
,Cloneable
public class ParsingContextImpl extends Object implements ParsingContext
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ParsingContext
clone()
ParsingContext
compat()
static ParsingContext
createDefault()
static ParsingContext
createForCompatibilityMode()
XNodeProcessorEvaluationMode
getEvaluationMode()
List<String>
getWarnings()
boolean
hasWarnings()
boolean
isAllowMissingRefTypes()
boolean
isCompat()
boolean
isStrict()
ParsingContext
strict()
void
warn(Trace logger, String message)
void
warn(String message)
void
warnOrThrow(Trace logger, String message)
void
warnOrThrow(Trace logger, String message, Throwable t)
-
-
-
Method Detail
-
createForCompatibilityMode
public static ParsingContext createForCompatibilityMode()
-
createDefault
public static ParsingContext createDefault()
-
isAllowMissingRefTypes
public boolean isAllowMissingRefTypes()
- Specified by:
isAllowMissingRefTypes
in interfaceParsingContext
-
getEvaluationMode
public XNodeProcessorEvaluationMode getEvaluationMode()
- Specified by:
getEvaluationMode
in interfaceParsingContext
-
isCompat
public boolean isCompat()
- Specified by:
isCompat
in interfaceParsingContext
-
isStrict
public boolean isStrict()
- Specified by:
isStrict
in interfaceParsingContext
-
warn
public void warn(Trace logger, String message)
- Specified by:
warn
in interfaceParsingContext
-
warnOrThrow
public void warnOrThrow(Trace logger, String message) throws SchemaException
- Specified by:
warnOrThrow
in interfaceParsingContext
- Throws:
SchemaException
-
warnOrThrow
public void warnOrThrow(Trace logger, String message, Throwable t) throws SchemaException
- Specified by:
warnOrThrow
in interfaceParsingContext
- Throws:
SchemaException
-
warn
public void warn(String message)
- Specified by:
warn
in interfaceParsingContext
-
getWarnings
public List<String> getWarnings()
- Specified by:
getWarnings
in interfaceParsingContext
-
hasWarnings
public boolean hasWarnings()
- Specified by:
hasWarnings
in interfaceParsingContext
-
clone
public ParsingContext clone()
- Specified by:
clone
in interfaceParsingContext
- Overrides:
clone
in classObject
-
strict
public ParsingContext strict()
- Specified by:
strict
in interfaceParsingContext
-
compat
public ParsingContext compat()
- Specified by:
compat
in interfaceParsingContext
-
-