|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object sk.uniba.euromath.document.schema.SchematicUtils
public final class SchematicUtils
Schematic initializer and helper.
Field Summary | |
---|---|
static IQNameFilter |
METAATRIBUTE_FILTER
Filter that filters out all XML-reserved qnames as well as gene:id attribute. |
static String |
SCHEMA_FACTORY_EXTENSION_POINT_ID
ID of extension point for schema factory
instances. |
Method Summary | |
---|---|
static IInputValidator |
createTextValidator(DocumentSchema schema,
DOMInterval cut)
Creates text validator. |
static SchemaPool |
getPool()
Retrieves schema pool instance. |
static void |
initializeSchematic()
Initializes the schematic library by registering all known schema factories. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String SCHEMA_FACTORY_EXTENSION_POINT_ID
schema factory
instances.
public static final IQNameFilter METAATRIBUTE_FILTER
Method Detail |
---|
public static SchemaPool getPool()
null
.public static void initializeSchematic()
public static IInputValidator createTextValidator(DocumentSchema schema, DOMInterval cut)
schema
- the document schema instance.cut
- the interval denoting text being deleted or replaced. Must not
be null
. Caller must ensure that there are no elements
covered by this interval. between the two pointers.
getTextTo(cutFrom)
+
given_string +
getTextFrom(cutTo)
. Never
null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |