Class SchemaDescriptionImpl
java.lang.Object
com.evolveum.midpoint.prism.AbstractFreezable
com.evolveum.midpoint.prism.impl.schema.SchemaDescriptionImpl
- All Implemented Interfaces:
Freezable
,SchemaDescription
,DebugDumpable
Schema (prism or non-prism) with additional information.
TODO Make this class "initializable at once" i.e. that it would not need to be in semi-finished state e.g. during parsing.
-
Field Summary
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
Method Summary
Modifier and TypeMethodDescriptionboolean
debugDump
(int indent) getPath()
boolean
boolean
boolean
void
setDefault
(boolean isDefault) void
setDefaultPrefix
(String prefix) void
setNamespace
(String namespace) void
toString()
Methods inherited from class com.evolveum.midpoint.prism.AbstractFreezable
freeze, freeze, freezeAll, freezeNullableList, isImmutable, isMutable, performFreeze
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
Methods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable, freeze, isImmutable
-
Method Details
-
getPath
- Specified by:
getPath
in interfaceSchemaDescription
- Returns:
- Path to schema source data (e.g. XSD file) - if known.
-
getNamespace
- Specified by:
getNamespace
in interfaceSchemaDescription
- Returns:
- Namespace for elements in this schema.
-
setNamespace
-
setNode
-
getUsualPrefix
- Specified by:
getUsualPrefix
in interfaceSchemaDescription
- Returns:
- Prefix that is usually used for this schema/namespace (e.g. "c" for common-3).
-
getSourceDescription
- Specified by:
getSourceDescription
in interfaceSchemaDescription
-
isPrismSchema
public boolean isPrismSchema()- Specified by:
isPrismSchema
in interfaceSchemaDescription
-
isDefault
public boolean isDefault()- Specified by:
isDefault
in interfaceSchemaDescription
-
setDefault
public void setDefault(boolean isDefault) -
isDeclaredByDefault
public boolean isDeclaredByDefault()- Specified by:
isDeclaredByDefault
in interfaceSchemaDescription
- Returns:
- True if this prefix should be declared in XML files by default at the top of the file.
-
getCompileTimeClassesPackage
- Specified by:
getCompileTimeClassesPackage
in interfaceSchemaDescription
-
canInputStream
public boolean canInputStream()- Specified by:
canInputStream
in interfaceSchemaDescription
-
openInputStream
- Specified by:
openInputStream
in interfaceSchemaDescription
-
getSource
- Specified by:
getSource
in interfaceSchemaDescription
-
getDomElement
- Specified by:
getDomElement
in interfaceSchemaDescription
-
debugDump
- Specified by:
debugDump
in interfaceDebugDumpable
-
toString
-
setDefaultPrefix
-
getDefaultPrefix
-