本文整理汇总了Java中com.sun.org.apache.xerces.internal.xs.XSNotationDeclaration类的典型用法代码示例。如果您正苦于以下问题:Java XSNotationDeclaration类的具体用法?Java XSNotationDeclaration怎么用?Java XSNotationDeclaration使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
XSNotationDeclaration类属于com.sun.org.apache.xerces.internal.xs包,在下文中一共展示了XSNotationDeclaration类的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getNotationDeclaration
import com.sun.org.apache.xerces.internal.xs.XSNotationDeclaration; //导入依赖的package包/类
/**
* @see org.apache.xerces.xs.XSModel#getNotationDeclaration(String, String)
*/
public XSNotationDeclaration getNotationDeclaration(String name,
String namespace) {
SchemaGrammar sg = (SchemaGrammar)fGrammarMap.get(null2EmptyString(namespace));
if (sg == null) {
return null;
}
return (XSNotationDeclaration)sg.fGlobalNotationDecls.get(name);
}
示例2: getNotationDeclaration
import com.sun.org.apache.xerces.internal.xs.XSNotationDeclaration; //导入依赖的package包/类
/**
* Convenience method. Returns a top-level notation declaration.
*
* @param name The name of the declaration.
* @return A top-level notation declaration or null if such declaration
* does not exist.
*/
public XSNotationDeclaration getNotationDeclaration(String name) {
return getGlobalNotationDecl(name);
}
示例3: getNotation
import com.sun.org.apache.xerces.internal.xs.XSNotationDeclaration; //导入依赖的package包/类
/**
* [notation]
* @see <a href="http://www.w3.org/TR/xmlschema-1/#e-notation>XML Schema Part 1: Structures [notation]</a>
* @return The notation declaration.
*/
public XSNotationDeclaration getNotation() {
return fNotation;
}