com.evolveum.midpoint.prism.schema
Class SchemaDescription

java.lang.Object
  extended by com.evolveum.midpoint.prism.schema.SchemaDescription
All Implemented Interfaces:
Dumpable

public class SchemaDescription
extends Object
implements Dumpable


Method Summary
 boolean canInputStream()
           
 String dump()
          Show the content of the object intended for diagnostics by developer.
 Package getCompileTimeClassesPackage()
           
 Element getDomElement()
           
 String getNamespace()
           
 String getPath()
           
 PrismSchema getSchema()
           
 Source getSource()
           
 String getSourceDescription()
           
 String getUsualPrefix()
           
 Map<QName,Class<?>> getXsdTypeTocompileTimeClassMap()
           
 boolean isDefault()
           
 boolean isPrismSchema()
           
 InputStream openInputStream()
           
static SchemaDescription parseFile(File file)
           
static SchemaDescription parseNode(Node node, String sourceDescription)
           
static SchemaDescription parseResource(String resourcePath)
           
 void setCompileTimeClassesPackage(Package compileTimeClassesPackage)
           
 void setDefault(boolean isDefault)
           
 void setNamespace(String namespace)
           
 void setPath(String path)
           
 void setPrismSchema(boolean isMidPointSchema)
           
 void setResourcePath(String path)
           
 void setSchema(PrismSchema schema)
           
 void setSourceDescription(String sourceDescription)
           
 void setUsualPrefix(String usualPrefix)
           
 void setXsdTypeTocompileTimeClassMap(Map<QName,Class<?>> xsdTypeTocompileTimeClassMap)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getPath

public String getPath()

setResourcePath

public void setResourcePath(String path)

getNamespace

public String getNamespace()

setNamespace

public void setNamespace(String namespace)

getUsualPrefix

public String getUsualPrefix()

setUsualPrefix

public void setUsualPrefix(String usualPrefix)

getSourceDescription

public String getSourceDescription()

setSourceDescription

public void setSourceDescription(String sourceDescription)

setPath

public void setPath(String path)

isPrismSchema

public boolean isPrismSchema()

setPrismSchema

public void setPrismSchema(boolean isMidPointSchema)

isDefault

public boolean isDefault()

setDefault

public void setDefault(boolean isDefault)

getSchema

public PrismSchema getSchema()

setSchema

public void setSchema(PrismSchema schema)

getCompileTimeClassesPackage

public Package getCompileTimeClassesPackage()

setCompileTimeClassesPackage

public void setCompileTimeClassesPackage(Package compileTimeClassesPackage)

getXsdTypeTocompileTimeClassMap

public Map<QName,Class<?>> getXsdTypeTocompileTimeClassMap()

setXsdTypeTocompileTimeClassMap

public void setXsdTypeTocompileTimeClassMap(Map<QName,Class<?>> xsdTypeTocompileTimeClassMap)

parseResource

public static SchemaDescription parseResource(String resourcePath)
                                       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()

openInputStream

public InputStream openInputStream()

getSource

public Source getSource()

getDomElement

public Element getDomElement()

dump

public String dump()
Description copied from interface: Dumpable
Show the content of the object intended for diagnostics by developer. The content may be multi-line, in case of hierarchical objects it may be intended. The use of this method may not be efficient. It is not supposed to be used in normal operation. However, it is very useful in tests or in case of dumping objects in severe error situations.

Specified by:
dump in interface Dumpable
Returns:
content of the object intended for diagnostics.


Copyright © 2013 evolveum. All Rights Reserved.