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 TypeMethodDescriptionbooleandebugDump(int indent) getPath()booleanbooleanbooleanvoidsetDefault(boolean isDefault) voidsetDefaultPrefix(String prefix) voidsetNamespace(String namespace) voidtoString()Methods inherited from class com.evolveum.midpoint.prism.AbstractFreezable
freeze, freeze, freezeAll, freezeNullableList, isImmutable, isMutable, performFreezeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazilyMethods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable, freeze, isImmutable
-
Method Details
-
getPath
- Specified by:
getPathin interfaceSchemaDescription- Returns:
- Path to schema source data (e.g. XSD file) - if known.
-
getNamespace
- Specified by:
getNamespacein interfaceSchemaDescription- Returns:
- Namespace for elements in this schema.
-
setNamespace
-
setNode
-
getUsualPrefix
- Specified by:
getUsualPrefixin interfaceSchemaDescription- Returns:
- Prefix that is usually used for this schema/namespace (e.g. "c" for common-3).
-
getSourceDescription
- Specified by:
getSourceDescriptionin interfaceSchemaDescription
-
isPrismSchema
public boolean isPrismSchema()- Specified by:
isPrismSchemain interfaceSchemaDescription
-
isDefault
public boolean isDefault()- Specified by:
isDefaultin interfaceSchemaDescription
-
setDefault
public void setDefault(boolean isDefault) -
isDeclaredByDefault
public boolean isDeclaredByDefault()- Specified by:
isDeclaredByDefaultin interfaceSchemaDescription- Returns:
- True if this prefix should be declared in XML files by default at the top of the file.
-
getCompileTimeClassesPackage
- Specified by:
getCompileTimeClassesPackagein interfaceSchemaDescription
-
canInputStream
public boolean canInputStream()- Specified by:
canInputStreamin interfaceSchemaDescription
-
openInputStream
- Specified by:
openInputStreamin interfaceSchemaDescription
-
getSource
- Specified by:
getSourcein interfaceSchemaDescription
-
getDomElement
- Specified by:
getDomElementin interfaceSchemaDescription
-
debugDump
- Specified by:
debugDumpin interfaceDebugDumpable
-
toString
-
setDefaultPrefix
-
getDefaultPrefix
-