org.sca4j.introspection.xml
Class UnrecognizedElement

java.lang.Object
  extended by org.sca4j.host.contribution.ValidationFailure<T>
      extended by org.sca4j.introspection.xml.XmlValidationFailure<javax.xml.namespace.QName>
          extended by org.sca4j.introspection.xml.UnrecognizedElement

public class UnrecognizedElement
extends XmlValidationFailure<javax.xml.namespace.QName>

Failure that indicates an element was encountered that could not be handled.

Version:
$Rev: 4310 $ $Date: 2008-05-23 19:08:47 +0100 (Fri, 23 May 2008) $

Constructor Summary
UnrecognizedElement(javax.xml.stream.XMLStreamReader reader)
          Constructor that indicates which resource could not be found.
 
Method Summary
 java.lang.String getMessage()
           
 
Methods inherited from class org.sca4j.introspection.xml.XmlValidationFailure
getColumn, getLine, getResourceURI
 
Methods inherited from class org.sca4j.host.contribution.ValidationFailure
getValidatable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnrecognizedElement

public UnrecognizedElement(javax.xml.stream.XMLStreamReader reader)
Constructor that indicates which resource could not be found. The supplied parameter is also returned as the message.

Parameters:
reader - the StAX reader positioned on the unrecognized element
Method Detail

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class XmlValidationFailure<javax.xml.namespace.QName>


Copyright © 2008-2011 Service Symphony. All Rights Reserved.