com.evolveum.midpoint.schema
Class SchemaDescription
java.lang.Object
com.evolveum.midpoint.schema.SchemaDescription
- All Implemented Interfaces:
- Dumpable
public class SchemaDescription
- extends java.lang.Object
- implements Dumpable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getPath
public java.lang.String getPath()
setResourcePath
public void setResourcePath(java.lang.String path)
getNamespace
public java.lang.String getNamespace()
setNamespace
public void setNamespace(java.lang.String namespace)
getUsualPrefix
public java.lang.String getUsualPrefix()
setUsualPrefix
public void setUsualPrefix(java.lang.String usualPrefix)
getSourceDescription
public java.lang.String getSourceDescription()
setSourceDescription
public void setSourceDescription(java.lang.String sourceDescription)
setPath
public void setPath(java.lang.String path)
isMidPointSchema
public boolean isMidPointSchema()
setMidPointSchema
public void setMidPointSchema(boolean isMidPointSchema)
getSchema
public Schema getSchema()
setSchema
public void setSchema(Schema schema)
parseResource
public static SchemaDescription parseResource(java.lang.String resourcePath)
throws SchemaException
- Throws:
SchemaException
parseFile
public static SchemaDescription parseFile(java.io.File file)
throws java.io.FileNotFoundException,
SchemaException
- Throws:
java.io.FileNotFoundException
SchemaException
parseNode
public static SchemaDescription parseNode(org.w3c.dom.Node node,
java.lang.String sourceDescription)
throws SchemaException
- Throws:
SchemaException
canInputStream
public boolean canInputStream()
openInputStream
public java.io.InputStream openInputStream()
getSource
public javax.xml.transform.Source getSource()
getDomElement
public org.w3c.dom.Element getDomElement()
dump
public java.lang.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 © 2012 evolveum. All Rights Reserved.