Class SchemaDescriptionImpl
- java.lang.Object
-
- com.evolveum.midpoint.prism.impl.schema.SchemaDescriptionImpl
-
- All Implemented Interfaces:
SchemaDescription
,DebugDumpable
public class SchemaDescriptionImpl extends Object implements SchemaDescription
-
-
Field Summary
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDumpLazily, debugDumpLazily
-
-
-
-
Method Detail
-
getPath
public String getPath()
- Specified by:
getPath
in interfaceSchemaDescription
-
setResourcePath
public void setResourcePath(String path)
- Specified by:
setResourcePath
in interfaceSchemaDescription
-
getNamespace
public String getNamespace()
- Specified by:
getNamespace
in interfaceSchemaDescription
-
setNamespace
public void setNamespace(String namespace)
- Specified by:
setNamespace
in interfaceSchemaDescription
-
getUsualPrefix
public String getUsualPrefix()
- Specified by:
getUsualPrefix
in interfaceSchemaDescription
-
setUsualPrefix
public void setUsualPrefix(String usualPrefix)
- Specified by:
setUsualPrefix
in interfaceSchemaDescription
-
getSourceDescription
public String getSourceDescription()
- Specified by:
getSourceDescription
in interfaceSchemaDescription
-
setSourceDescription
public void setSourceDescription(String sourceDescription)
- Specified by:
setSourceDescription
in interfaceSchemaDescription
-
setPath
public void setPath(String path)
- Specified by:
setPath
in interfaceSchemaDescription
-
isPrismSchema
public boolean isPrismSchema()
- Specified by:
isPrismSchema
in interfaceSchemaDescription
-
setPrismSchema
public void setPrismSchema(boolean isMidPointSchema)
- Specified by:
setPrismSchema
in interfaceSchemaDescription
-
isDefault
public boolean isDefault()
- Specified by:
isDefault
in interfaceSchemaDescription
-
setDefault
public void setDefault(boolean isDefault)
- Specified by:
setDefault
in interfaceSchemaDescription
-
isDeclaredByDefault
public boolean isDeclaredByDefault()
- Specified by:
isDeclaredByDefault
in interfaceSchemaDescription
-
setDeclaredByDefault
public void setDeclaredByDefault(boolean isDeclaredByDefault)
- Specified by:
setDeclaredByDefault
in interfaceSchemaDescription
-
getSchema
public PrismSchema getSchema()
- Specified by:
getSchema
in interfaceSchemaDescription
-
setSchema
public void setSchema(PrismSchema schema)
- Specified by:
setSchema
in interfaceSchemaDescription
-
getCompileTimeClassesPackage
public Package getCompileTimeClassesPackage()
- Specified by:
getCompileTimeClassesPackage
in interfaceSchemaDescription
-
setCompileTimeClassesPackage
public void setCompileTimeClassesPackage(Package compileTimeClassesPackage)
- Specified by:
setCompileTimeClassesPackage
in interfaceSchemaDescription
-
getXsdTypeTocompileTimeClassMap
public Map<QName,Class<?>> getXsdTypeTocompileTimeClassMap()
- Specified by:
getXsdTypeTocompileTimeClassMap
in interfaceSchemaDescription
-
setXsdTypeTocompileTimeClassMap
public void setXsdTypeTocompileTimeClassMap(Map<QName,Class<?>> xsdTypeTocompileTimeClassMap)
- Specified by:
setXsdTypeTocompileTimeClassMap
in interfaceSchemaDescription
-
parseResource
public static SchemaDescription parseResource(String resourcePath) throws SchemaException
- Throws:
SchemaException
-
parseWsdlResource
public static List<SchemaDescription> parseWsdlResource(String resourcePath) throws SchemaException
- Throws:
SchemaException
-
parseInputStream
public static SchemaDescription parseInputStream(InputStream input, String description) throws SchemaException
- Throws:
SchemaException
-
parseFile
public static SchemaDescription parseFile(File file) throws FileNotFoundException, SchemaException
- Throws:
FileNotFoundException
SchemaException
-
parseNode
public static SchemaDescription parseNode(Node node, String sourceDescription) throws SchemaException
- Throws:
SchemaException
-
canInputStream
public boolean canInputStream()
- Specified by:
canInputStream
in interfaceSchemaDescription
-
openInputStream
public InputStream openInputStream()
- Specified by:
openInputStream
in interfaceSchemaDescription
-
getSource
public Source getSource()
- Specified by:
getSource
in interfaceSchemaDescription
-
getDomElement
public Element getDomElement()
- Specified by:
getDomElement
in interfaceSchemaDescription
-
debugDump
public String debugDump()
Description copied from interface:DebugDumpable
Show the content of the object intended for diagnostics by system administrator. The out put should be suitable to use in system logs at "debug" level. It may be multi-line, but in that case it should be well indented and quite terse. As it is intended to be used by system administrator, it should not use any developer terms such as class names, exceptions or stack traces.- Specified by:
debugDump
in interfaceDebugDumpable
- Returns:
- content of the object intended for diagnostics by system administrator.
-
debugDump
public String debugDump(int indent)
- Specified by:
debugDump
in interfaceDebugDumpable
-
-