|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.ucsb.nceas.metacat.SchemaLocationResolver
A database aware Class to handle schema location. If namespace is in the xml_catalog table (public_id), the schema location specified in xml document will be ignored by parser setting external schema location. If the name space is not in the table, it will be download to metacat and register in table
Constructor Summary | |
SchemaLocationResolver()
|
|
SchemaLocationResolver(java.lang.String myNameSpaceAndLocation)
Construct an instance of the SchemaLocationResolver class |
Method Summary | |
java.lang.String |
getNameSpaceAndLocationString()
A method to get nameSpaceAndLocationString |
static void |
main(java.lang.String[] argus)
|
void |
resolveNameSpace()
When got a name space, check if it is in the database, if it is do nothing else upload it to metacat to store it and register it in catalog table |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SchemaLocationResolver()
public SchemaLocationResolver(java.lang.String myNameSpaceAndLocation)
myNameSpaceAndLocation
- it is come from xsi:schemaLocation=
"namespace location"Method Detail |
public java.lang.String getNameSpaceAndLocationString()
public void resolveNameSpace()
public static void main(java.lang.String[] argus)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |