gpt4 book ai didi

org.cyberneko.html.xercesbridge.XercesBridge.getInstance()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-19 22:48:40 27 4
gpt4 key购买 nike

本文整理了Java中org.cyberneko.html.xercesbridge.XercesBridge.getInstance()方法的一些代码示例,展示了XercesBridge.getInstance()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XercesBridge.getInstance()方法的具体详情如下:
包路径:org.cyberneko.html.xercesbridge.XercesBridge
类名称:XercesBridge
方法名:getInstance

XercesBridge.getInstance介绍

[英]The access point for the bridge.
[中]桥的入口。

代码示例

代码示例来源:origin: kohlschutter/boilerpipe

/** Start prefix mapping. */
public void startPrefixMapping(String prefix, String uri, Augmentations augs)
  throws XNIException {
  
  // check for end of document
  if (fSeenRootElementEnd) {
    return;
  }
  // call handler
  if (fDocumentHandler != null) {
    XercesBridge.getInstance().XMLDocumentHandler_startPrefixMapping(fDocumentHandler, prefix, uri, augs);
  }

} // startPrefixMapping(String,String,Augmentations)

代码示例来源:origin: kohlschutter/boilerpipe

/** End prefix mapping. */
public void endPrefixMapping(String prefix, Augmentations augs)
  throws XNIException {
  
  // check for end of document
  if (fSeenRootElementEnd) {
    return;
  }
  // call handler
  if (fDocumentHandler != null) {
    XercesBridge.getInstance().XMLDocumentHandler_endPrefixMapping(fDocumentHandler, prefix, augs);
  }

} // endPrefixMapping(String,Augmentations)

代码示例来源:origin: kohlschutter/boilerpipe

XercesBridge.getInstance().XMLDocumentHandler_startDocument(fDocumentHandler, locator, encoding, nscontext, augs);

代码示例来源:origin: net.sourceforge.nekohtml/nekohtml

/** Start prefix mapping. */
public void startPrefixMapping(String prefix, String uri, Augmentations augs)
  throws XNIException {
  
  // check for end of document
  if (fSeenRootElementEnd) {
    return;
  }
  // call handler
  if (fDocumentHandler != null) {
    XercesBridge.getInstance().XMLDocumentHandler_startPrefixMapping(fDocumentHandler, prefix, uri, augs);
  }

} // startPrefixMapping(String,String,Augmentations)

代码示例来源:origin: net.sourceforge.nekohtml/com.springsource.org.cyberneko.html

/** Start prefix mapping. */
public void startPrefixMapping(String prefix, String uri, Augmentations augs)
  throws XNIException {
  if (fDocumentHandler != null) {
    XercesBridge.getInstance().XMLDocumentHandler_startPrefixMapping(fDocumentHandler, prefix, uri, augs);
  }
} // startPrefixMapping(String,String,Augmentations)

代码示例来源:origin: net.sourceforge.nekohtml/com.springsource.org.cyberneko.html

/** End prefix mapping. */
public void endPrefixMapping(String prefix, Augmentations augs)
  throws XNIException {
  if (fDocumentHandler != null) {
    XercesBridge.getInstance().XMLDocumentHandler_endPrefixMapping(fDocumentHandler, prefix, augs);
  }
} // endPrefixMapping(String,Augmentations)

代码示例来源:origin: net.sourceforge.nekohtml/nekohtml

/** End prefix mapping. */
public void endPrefixMapping(String prefix, Augmentations augs)
  throws XNIException {
  
  // check for end of document
  if (fSeenRootElementEnd) {
    return;
  }
  // call handler
  if (fDocumentHandler != null) {
    XercesBridge.getInstance().XMLDocumentHandler_endPrefixMapping(fDocumentHandler, prefix, augs);
  }

} // endPrefixMapping(String,Augmentations)

代码示例来源:origin: net.sourceforge.nekohtml/nekohtml

/** Start prefix mapping. */
public void startPrefixMapping(String prefix, String uri, Augmentations augs)
  throws XNIException {
  if (fDocumentHandler != null) {
    XercesBridge.getInstance().XMLDocumentHandler_startPrefixMapping(fDocumentHandler, prefix, uri, augs);
  }
} // startPrefixMapping(String,String,Augmentations)

代码示例来源:origin: net.sourceforge.nekohtml/nekohtml

/** End prefix mapping. */
public void endPrefixMapping(String prefix, Augmentations augs)
  throws XNIException {
  if (fDocumentHandler != null) {
    XercesBridge.getInstance().XMLDocumentHandler_endPrefixMapping(fDocumentHandler, prefix, augs);
  }
} // endPrefixMapping(String,Augmentations)

代码示例来源:origin: Netbreeze-GmbH/boilerpipe

/** Start prefix mapping. */
public void startPrefixMapping(String prefix, String uri, Augmentations augs)
  throws XNIException {
  
  // check for end of document
  if (fSeenRootElementEnd) {
    return;
  }
  // call handler
  if (fDocumentHandler != null) {
    XercesBridge.getInstance().XMLDocumentHandler_startPrefixMapping(fDocumentHandler, prefix, uri, augs);
  }

} // startPrefixMapping(String,String,Augmentations)

代码示例来源:origin: com.syncthemall/boilerpipe

/** Start prefix mapping. */
public void startPrefixMapping(String prefix, String uri, Augmentations augs)
  throws XNIException {
  
  // check for end of document
  if (fSeenRootElementEnd) {
    return;
  }
  // call handler
  if (fDocumentHandler != null) {
    XercesBridge.getInstance().XMLDocumentHandler_startPrefixMapping(fDocumentHandler, prefix, uri, augs);
  }

} // startPrefixMapping(String,String,Augmentations)

代码示例来源:origin: de.l3s.boilerpipe/boilerpipe

/** End prefix mapping. */
public void endPrefixMapping(String prefix, Augmentations augs)
  throws XNIException {
  
  // check for end of document
  if (fSeenRootElementEnd) {
    return;
  }
  // call handler
  if (fDocumentHandler != null) {
    XercesBridge.getInstance().XMLDocumentHandler_endPrefixMapping(fDocumentHandler, prefix, augs);
  }

} // endPrefixMapping(String,Augmentations)

代码示例来源:origin: pvdlg/boilerpipe

/** End prefix mapping. */
public void endPrefixMapping(String prefix, Augmentations augs)
  throws XNIException {
  
  // check for end of document
  if (fSeenRootElementEnd) {
    return;
  }
  // call handler
  if (fDocumentHandler != null) {
    XercesBridge.getInstance().XMLDocumentHandler_endPrefixMapping(fDocumentHandler, prefix, augs);
  }

} // endPrefixMapping(String,Augmentations)

代码示例来源:origin: net.sourceforge.nekohtml/com.springsource.org.cyberneko.html

/** Start document. */
public void startDocument(XMLLocator locator, String encoding, 
             NamespaceContext nscontext, Augmentations augs) 
  throws XNIException {
  if (fDocumentHandler != null) {
    XercesBridge.getInstance().XMLDocumentHandler_startDocument(fDocumentHandler, locator, encoding, nscontext, augs);
  }
} // startDocument(XMLLocator,String,Augmentations)

代码示例来源:origin: net.sourceforge.nekohtml/com.springsource.org.cyberneko.html

/** Start prefix mapping. */
public void startPrefixMapping(String prefix, String uri, Augmentations augs)
  throws XNIException {
  
  // check for end of document
  if (fSeenRootElementEnd) {
    return;
  }
  // call handler
  if (fDocumentHandler != null) {
    XercesBridge.getInstance().XMLDocumentHandler_startPrefixMapping(fDocumentHandler, prefix, uri, augs);
  }

} // startPrefixMapping(String,String,Augmentations)

代码示例来源:origin: net.sourceforge.nekohtml/nekohtml

/** Start document. */
public void startDocument(XMLLocator locator, String encoding, 
             NamespaceContext nscontext, Augmentations augs) 
  throws XNIException {
  if (fDocumentHandler != null) {
    XercesBridge.getInstance().XMLDocumentHandler_startDocument(fDocumentHandler, locator, encoding, nscontext, augs);
  }
} // startDocument(XMLLocator,String,Augmentations)

代码示例来源:origin: de.l3s.boilerpipe/boilerpipe

/** Start prefix mapping. */
public void startPrefixMapping(String prefix, String uri, Augmentations augs)
  throws XNIException {
  
  // check for end of document
  if (fSeenRootElementEnd) {
    return;
  }
  // call handler
  if (fDocumentHandler != null) {
    XercesBridge.getInstance().XMLDocumentHandler_startPrefixMapping(fDocumentHandler, prefix, uri, augs);
  }

} // startPrefixMapping(String,String,Augmentations)

代码示例来源:origin: net.sourceforge.nekohtml/com.springsource.org.cyberneko.html

/** End prefix mapping. */
public void endPrefixMapping(String prefix, Augmentations augs)
  throws XNIException {
  
  // check for end of document
  if (fSeenRootElementEnd) {
    return;
  }
  // call handler
  if (fDocumentHandler != null) {
    XercesBridge.getInstance().XMLDocumentHandler_endPrefixMapping(fDocumentHandler, prefix, augs);
  }

} // endPrefixMapping(String,Augmentations)

代码示例来源:origin: net.sourceforge.nekohtml/nekohtml

/** Synthesize namespace binding. */
protected void synthesizeBinding(XMLAttributes attrs, String ns) {
  String prefix = "xmlns";
  String localpart = ns;
  String qname = prefix+':'+localpart;
  String uri = NamespaceBinder.NAMESPACES_URI;
  String atype = "CDATA";
  String avalue = SYNTHESIZED_NAMESPACE_PREFX+fSynthesizedNamespaceCount++;
  
  // add attribute
  fQName.setValues(prefix, localpart, qname, uri);
  attrs.addAttribute(fQName, atype, avalue);
  // bind namespace
  XercesBridge.getInstance().NamespaceContext_declarePrefix(fNamespaceContext, ns, avalue);
} // synthesizeBinding(XMLAttributes,String)

代码示例来源:origin: net.sourceforge.nekohtml/com.springsource.org.cyberneko.html

/** Synthesize namespace binding. */
protected void synthesizeBinding(XMLAttributes attrs, String ns) {
  String prefix = "xmlns";
  String localpart = ns;
  String qname = prefix+':'+localpart;
  String uri = NamespaceBinder.NAMESPACES_URI;
  String atype = "CDATA";
  String avalue = SYNTHESIZED_NAMESPACE_PREFX+fSynthesizedNamespaceCount++;
  
  // add attribute
  fQName.setValues(prefix, localpart, qname, uri);
  attrs.addAttribute(fQName, atype, avalue);
  // bind namespace
  XercesBridge.getInstance().NamespaceContext_declarePrefix(fNamespaceContext, ns, avalue);
} // synthesizeBinding(XMLAttributes,String)

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com