com.jxml.quick.ocm
Class OCMvalidatorSupport.SubValidatorSupport
java.lang.Object
|
+--com.jxml.quick.ocm.OCMsinkSupport.SubSinkSupport
|
+--com.jxml.quick.ocm.OCMvalidatorSupport.SubValidatorSupport
- All Implemented Interfaces:
- OCMbase.SubBase, OCMsink.SubSink, OCMvalidator.SubValidator
- Direct Known Subclasses:
- QVValidate.SubValidate
- Enclosing class:
- OCMvalidatorSupport
- public class OCMvalidatorSupport.SubValidatorSupport
- extends OCMsinkSupport.SubSinkSupport
- implements OCMvalidator.SubValidator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
echoSubSource
public OCMsource.SubSource echoSubSource
- The source of the input document.
OCMvalidatorSupport.SubValidatorSupport
public OCMvalidatorSupport.SubValidatorSupport(HashMap prior)
errorCount
public int errorCount()
throws SAXException,
IOException
- Returns the number of error messages.
expressErrors
public void expressErrors()
throws SAXException,
IOException
expressInputWithIDs
public void expressInputWithIDs()
throws SAXException,
IOException
validTest
public int validTest()
throws SAXException,
IOException
valid
public void valid()
throws OCMinvalidException,
SAXException,
IOException
- Description copied from interface:
OCMvalidator.SubValidator
- Returns true if the document is valid.
- Specified by:
valid
in interface OCMvalidator.SubValidator
- Following copied from interface:
com.jxml.quick.ocm.OCMvalidator.SubValidator
- Parameters:
doc
- The document to be validated.
express
public String express()
throws SAXException,
IOException
- Description copied from interface:
OCMsink.SubSink
- Generate an XML document (or other text).
- Specified by:
express
in interface OCMsink.SubSink
- Overrides:
express
in class OCMsinkSupport.SubSinkSupport
- Following copied from interface:
com.jxml.quick.ocm.OCMsink.SubSink
- Returns:
- The XML representation
express
public void express(PrintWriter pw)
throws SAXException,
IOException
- Description copied from interface:
OCMsink.SubSink
- Generate an XML document (or other text).
- Specified by:
express
in interface OCMsink.SubSink
- Overrides:
express
in class OCMsinkSupport.SubSinkSupport
- Following copied from interface:
com.jxml.quick.ocm.OCMsink.SubSink
- Parameters:
PW
- PrintWriter where the XML document is to be written.