com.sun.msv.verifier
Class ErrorInfo.MissingAttribute

java.lang.Object
  extended by com.sun.msv.verifier.ErrorInfo
      extended by com.sun.msv.verifier.ErrorInfo.ElementErrorInfo
          extended by com.sun.msv.verifier.ErrorInfo.MissingAttribute
Enclosing class:
ErrorInfo

public static class ErrorInfo.MissingAttribute
extends ErrorInfo.ElementErrorInfo

Missing attribute.

This type of error occurs only when required attributes are missing. Note that the fields of this class provide information about the element, not the attribute which is missing.


 <img/>  <!-- where is the href attribute? -->
 


Nested Class Summary
 
Nested classes/interfaces inherited from class com.sun.msv.verifier.ErrorInfo
ErrorInfo.BadAttribute, ErrorInfo.BadTagName, ErrorInfo.BadText, ErrorInfo.ElementErrorInfo, ErrorInfo.IncompleteContentModel, ErrorInfo.MissingAttribute
 
Field Summary
 
Fields inherited from class com.sun.msv.verifier.ErrorInfo.ElementErrorInfo
localName, namespaceURI, qName
 
Constructor Summary
ErrorInfo.MissingAttribute(StartTagInfo sti)
           
ErrorInfo.MissingAttribute(String qn, String ns, String loc)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorInfo.MissingAttribute

public ErrorInfo.MissingAttribute(String qn,
                                  String ns,
                                  String loc)

ErrorInfo.MissingAttribute

public ErrorInfo.MissingAttribute(StartTagInfo sti)