本文整理汇总了Java中com.sun.org.apache.xerces.internal.xinclude.XPointerSchema类的典型用法代码示例。如果您正苦于以下问题:Java XPointerSchema类的具体用法?Java XPointerSchema怎么用?Java XPointerSchema使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
XPointerSchema类属于com.sun.org.apache.xerces.internal.xinclude包,在下文中一共展示了XPointerSchema类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getNextXPointerSchema
import com.sun.org.apache.xerces.internal.xinclude.XPointerSchema; //导入依赖的package包/类
public XPointerSchema getNextXPointerSchema(){
int i=fCountSchemaName;
if(fSchemaPointerName == null){
getSchemaNames();
}
if(fDefaultXPointerSchema == null){
getDefaultSchema();
}
if(fDefaultXPointerSchema.getXpointerSchemaName().equalsIgnoreCase(fSchemaPointerName[i])){
fDefaultXPointerSchema.reset();
fDefaultXPointerSchema.setXPointerSchemaPointer(fSchemaPointerURI[i]);
fCountSchemaName = ++i;
return getDefaultSchema();
}
if(fXPointerSchema == null){
fCountSchemaName = ++i;
return null;
}
int fschemalength = fXPointerSchema.length;
for(;fSchemaPointerName[i] != null; i++){
for(int j=0; j<fschemalength; j++ ){
if(fSchemaPointerName[i].equalsIgnoreCase(fXPointerSchema[j].getXpointerSchemaName())){
fXPointerSchema[j].setXPointerSchemaPointer(fSchemaPointerURI[i]);
fCountSchemaName = ++i;
return fXPointerSchema[j];
}
}
if(fSchemaNotAvailable == null)
fSchemaNotAvailable = new Stack();
fSchemaNotAvailable.push(fSchemaPointerName[i]);
}
return null;
}
示例2: XPointerFramework
import com.sun.org.apache.xerces.internal.xinclude.XPointerSchema; //导入依赖的package包/类
public XPointerFramework(XPointerSchema [] xpointerschema){
fXPointerSchema = xpointerschema;
fSchemaNotAvailable = new Stack();
}
示例3: setXPointerSchema
import com.sun.org.apache.xerces.internal.xinclude.XPointerSchema; //导入依赖的package包/类
public void setXPointerSchema(XPointerSchema [] xpointerschema){
fXPointerSchema = xpointerschema;
}
示例4: getDefaultSchema
import com.sun.org.apache.xerces.internal.xinclude.XPointerSchema; //导入依赖的package包/类
public XPointerSchema getDefaultSchema(){
if(fDefaultXPointerSchema == null)
fDefaultXPointerSchema = new XPointerElementHandler();
return fDefaultXPointerSchema;
}