if (!acc.isAcceptState(mErrorRef) || mErrorRef.str != null) { reportError(mErrorRef);
/** performs the validation to the object specified in the constructor. */ private void _validate() throws SAXException { // validate attributes target.serializeAttributes(this); endAttribute(); // validate content model target.serializeElements(this); writePendingText(); if(!acceptor.isAcceptState(null)) { // some elements are missing // report error StringRef ref = new StringRef(); acceptor.isAcceptState(ref); context.reportEvent(target,ref.str); } }
if (!acc.isAcceptState(mErrorRef) || mErrorRef.str != null) { reportError(mErrorRef);
if (!acc.isAcceptState(mErrorRef) || mErrorRef.str != null) { reportError(mErrorRef);
if (!acc.isAcceptState(mErrorRef) || mErrorRef.str != null) { reportError(mErrorRef);
if (!current.isAcceptState(null) && panicLevel == 0) { current.isAcceptState(errRef); onError( errRef,
if (!current.isAcceptState(null) && panicLevel == 0) { current.isAcceptState(errRef); onError( errRef,
if (!acc.isAcceptState(mErrorRef) || mErrorRef.str != null) { reportError(mErrorRef);
if (!current.isAcceptState(null) && panicLevel == 0) { current.isAcceptState(errRef); onError( errRef,
if (!current.isAcceptState(null) && panicLevel == 0) { current.isAcceptState(errRef); onError( errRef,
if (!acc.isAcceptState(mErrorRef) || mErrorRef.str != null) { reportError(mErrorRef, XMLStreamConstants.END_ELEMENT, _qname(uri, localName, prefix));
public void endElement() throws SAXException { writePendingText(); if(!acceptor.isAcceptState(null)) { // some required elements are missing // report error StringRef ref = new StringRef(); acceptor.isAcceptState(ref); context.reportEvent(target,ref.str); } // pop the acceptor Acceptor child = acceptor; acceptor = (Acceptor)stack.pop(); if(!acceptor.stepForward( child, null )) { // some required elements are missing. // report an error StringRef ref = new StringRef(); acceptor.stepForward( child, ref ); // force recovery and obtain an error message. context.reportEvent(target,ref.str); } context.getNamespaceContext().endElement(); }
public void endElement() throws SAXException { writePendingText(); if(!acceptor.isAcceptState(null)) { // some required elements are missing // report error StringRef ref = new StringRef(); acceptor.isAcceptState(ref); context.reportEvent(target,ref.str); } // pop the acceptor Acceptor child = acceptor; acceptor = (Acceptor)stack.pop(); if(!acceptor.stepForward( child, null )) { // some required elements are missing. // report an error StringRef ref = new StringRef(); acceptor.stepForward( child, ref ); // force recovery and obtain an error message. context.reportEvent(target,ref.str); } context.getNamespaceContext().endElement(); }
public void endElement() throws SAXException { writePendingText(); if(!acceptor.isAcceptState(null)) { // some required elements are missing // report error StringRef ref = new StringRef(); acceptor.isAcceptState(ref); context.reportEvent(target,ref.str); } // pop the acceptor Acceptor child = acceptor; acceptor = (Acceptor)stack.pop(); if(!acceptor.stepForward( child, null )) { // some required elements are missing. // report an error StringRef ref = new StringRef(); acceptor.stepForward( child, ref ); // force recovery and obtain an error message. context.reportEvent(target,ref.str); } context.getNamespaceContext().endElement(); }
public void endElement() throws SAXException { writePendingText(); if(!acceptor.isAcceptState(null)) { // some required elements are missing // report error StringRef ref = new StringRef(); acceptor.isAcceptState(ref); context.reportEvent(target,ref.str); } // pop the acceptor Acceptor child = acceptor; acceptor = (Acceptor)stack.pop(); if(!acceptor.stepForward( child, null )) { // some required elements are missing. // report an error StringRef ref = new StringRef(); acceptor.stepForward( child, ref ); // force recovery and obtain an error message. context.reportEvent(target,ref.str); } context.getNamespaceContext().endElement(); }
public void endElement() throws SAXException { writePendingText(); if(!acceptor.isAcceptState(null)) { // some required elements are missing // report error StringRef ref = new StringRef(); acceptor.isAcceptState(ref); context.reportEvent(target,ref.str); } // pop the acceptor Acceptor child = acceptor; acceptor = (Acceptor)stack.pop(); if(!acceptor.stepForward( child, null )) { // some required elements are missing. // report an error StringRef ref = new StringRef(); acceptor.stepForward( child, ref ); // force recovery and obtain an error message. context.reportEvent(target,ref.str); } context.getNamespaceContext().endElement(); }
/** performs the validation to the object specified in the constructor. */ private void _validate() throws SAXException { context.getNamespaceContext().startElement(); // validate attributes target.serializeURIs(this); endNamespaceDecls(); target.serializeAttributes(this); endAttributes(); // validate content model target.serializeBody(this); writePendingText(); context.getNamespaceContext().endElement(); if(!acceptor.isAcceptState(null)) { // some elements are missing // report error StringRef ref = new StringRef(); acceptor.isAcceptState(ref); context.reportEvent(target,ref.str); } }
/** performs the validation to the object specified in the constructor. */ private void _validate() throws SAXException { context.getNamespaceContext().startElement(); // validate attributes target.serializeURIs(this); endNamespaceDecls(); target.serializeAttributes(this); endAttributes(); // validate content model target.serializeBody(this); writePendingText(); context.getNamespaceContext().endElement(); if(!acceptor.isAcceptState(null)) { // some elements are missing // report error StringRef ref = new StringRef(); acceptor.isAcceptState(ref); context.reportEvent(target,ref.str); } }
/** performs the validation to the object specified in the constructor. */ private void _validate() throws SAXException { context.getNamespaceContext().startElement(); // validate attributes target.serializeURIs(this); endNamespaceDecls(); target.serializeAttributes(this); endAttributes(); // validate content model target.serializeBody(this); writePendingText(); context.getNamespaceContext().endElement(); if(!acceptor.isAcceptState(null)) { // some elements are missing // report error StringRef ref = new StringRef(); acceptor.isAcceptState(ref); context.reportEvent(target,ref.str); } }
/** performs the validation to the object specified in the constructor. */ private void _validate() throws SAXException { context.getNamespaceContext().startElement(); // validate attributes target.serializeURIs(this); endNamespaceDecls(); target.serializeAttributes(this); endAttributes(); // validate content model target.serializeBody(this); writePendingText(); context.getNamespaceContext().endElement(); if(!acceptor.isAcceptState(null)) { // some elements are missing // report error StringRef ref = new StringRef(); acceptor.isAcceptState(ref); context.reportEvent(target,ref.str); } }