站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc (Current Development Version)

ValidateXMLCookie (XML Tools API) - NetBeans API Javadoc (Current Development Version)

org.netbeans.api.xml/1 1.14

org.netbeans.api.xml.cookies
Interface ValidateXMLCookie

All Superinterfaces:
Node.Cookie
All Known Implementing Classes:
ValidateXMLSupport

public interface ValidateXMLCookie
extends Node.Cookie

Validate XML document entity (in polyform manner).

Implemenmtation must follow XML 1.0 specification for processors conformance. It is allowed to extend the contract to support domain specifics semantics checks (i.e. XML Schema). It must not change UI state.

It should be gracefully served by all data objects and explorer nodes representing validateable XML resources.

Use Cases

See Also:
CheckXMLCookie, XML 1.0

Method Summary
 boolean validateXML(CookieObserver observer)
          Validate XML document entity.
 

Method Detail

validateXML

boolean validateXML(CookieObserver observer)
Validate XML document entity.

Parameters:
observer - Optional listener (null allowed) giving judgement details via XMLProcessorDetails.
Returns:
true if validity check passes.

org.netbeans.api.xml/1 1.14

Built on May 28 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.