blob: 7893d2078fa6bb5ca5af103544f484c0433af91c [file] [log] [blame]
<!DOCTYPE html>
<html prefix="og: http://ogp.me/ns#" class="default">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1">
<title>Apache Annotator (incubating)</title>
<meta property="og:title" content="Apache Annotator" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://annotator.apache.org/" />
<meta property="og:image:url" content="https://annotator.apache.org/images/annotator-logo.svg" />
<meta property="og:image:alt" content="Apache Annotator (incubating) logo" />
<link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<link rel="mask-icon" href="/images/safari-pinned-tab.svg" color="#5bbad5">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#ffffff">
<link rel="alternate" title="DOAP" href="doap.rdf" type="application/rdf+xml" />
<link rel="stylesheet" href="../assets/css/main.css">
<style>
/* Avoid TypeDoc style messing up the page around it. Why oh why did scoped CSS die? */
.ui.container {
padding: unset;
}
</style>
<script async src="../assets/js/search.js" id="search-script"></script>
<script defer src="../assets/js/main.js"></script>
<link rel="stylesheet" href="//semantic-ui.com/dist/semantic.min.css" />
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/prism-themes/themes/prism-vs.css" />
<style>
html {
font-size: 17px;
}
p, pre[class*="language-"] {
margin: .8em 0 1.25em;
}
</style>
</head>
<body>
<div class="ui borderless stackable top attached main menu">
<div class="ui container">
<a class="item" href="/" style="color: rgba(0,0,0,.87);">
<img class="ui small image" src="/images/annotator-logo.svg" alt="Apache Annotator (incubating)" />
</a>
<nav class="right menu">
<a class="item" href="/">Home</a>
<a class="item" href="/demo/"><span class="ui positive button">Demo!</span></a>
<a class="active item" href="/docs/">Documentation</a>
<a class="item" rel="external" href="https://github.com/apache/incubator-annotator">Code&nbsp;<i class="small external icon"></i></a>
<a class="item" rel="external" href="https://github.com/apache/incubator-annotator/issues">Issue tracker&nbsp;<i class="small external icon"></i></a>
</nav>
</div>
</div>
<div class="ui basic segment container">
<nav class="ui secondary stackable pointing menu" style="justify-content: center;">
<div class="ui simple dropdown item">
Latest release (v0.2)
<i class="dropdown icon"></i>
<div class="menu" style="margin-top: -1px;">
<a class="item" href=".">
v0.2
</a>
</div>
</div>
<div class="item" style="flex-grow: 1;"></div>
<a href="/docs/" class="item">Overview</a>
<a href="/docs/getting-started/" class="item">Getting Started</a>
<a href="/docs/develop/" class="item">Develop</a>
<a href="/docs/api/" class="active item">API reference</a>
</nav>
<div class="ui basic segment container">
<div class="ui stackable grid">
<div class="eight wide column">
<h1>
API reference
</h1>
</div>
<div class="eight wide column">
<aside>
<style>
#tsd-search {
position: relative;
text-align: right;
}
#tsd-search input {
border: 1px solid grey;
border-radius: 4px;
padding: 0.4em;
}
#tsd-search label,
#tsd-search label::before,
#tsd-search input {
vertical-align: middle;
}
#tsd-search .results {
z-index: 1;
position: absolute;
box-shadow: 0px 20px 20px #00000066;
}
</style>
<div id="tsd-search" data-index="../assets/js/search.json" data-base="..">
<div>
<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
<input id="tsd-search-field" type="text" />
</div>
<ul class="results">
<li class="state loading">Preparing search index...</li>
<li class="state failure">The search index is not available</li>
</ul>
</div>
</aside>
</div>
</div>
<header style="margin: 2em 0;" id="typedoc-title">
<style>
#typedoc-title h1 {
margin-top: 0;
}
</style>
<ul class="tsd-breadcrumb">
<li>
<a href="../index.html">apache-annotator</a>
</li>
<li>
<a href="../modules/selector.html">selector</a>
</li>
<li>
<a href="selector.textquoteselector.html">TextQuoteSelector</a>
</li>
</ul>
<h1>Interface TextQuoteSelector</h1>
</header>
<div class="row">
<div class="col-8 col-content">
<section class="tsd-panel tsd-comment">
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>The <a href="https://www.w3.org/TR/2017/REC-annotation-model-20170223/#text-quote-selector" class="external">TextQuoteSelector</a> of the Web Annotation Data Model.</p>
</div>
<p>Corresponds to RDF class <a href="http://www.w3.org/ns/oa#TextQuoteSelector" class="external">http://www.w3.org/ns/oa#TextQuoteSelector</a></p>
</div>
</section>
<section class="tsd-panel tsd-hierarchy">
<h3>Hierarchy</h3>
<ul class="tsd-hierarchy">
<li>
<a href="selector.selector-1.html" class="tsd-signature-type" data-tsd-kind="Interface">Selector</a>
<ul class="tsd-hierarchy">
<li>
<span class="target">TextQuoteSelector</span>
</li>
</ul>
</li>
</ul>
</section>
<section class="tsd-panel-group tsd-index-group">
<h2>Index</h2>
<section class="tsd-panel tsd-index-panel">
<div class="tsd-index-content">
<section class="tsd-index-section ">
<h3>Properties</h3>
<ul class="tsd-index-list">
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="selector.textquoteselector.html#exact" class="tsd-kind-icon">exact</a></li>
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="selector.textquoteselector.html#prefix" class="tsd-kind-icon">prefix</a></li>
<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited"><a href="selector.textquoteselector.html#refinedby" class="tsd-kind-icon">refined<wbr>By</a></li>
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="selector.textquoteselector.html#suffix" class="tsd-kind-icon">suffix</a></li>
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="selector.textquoteselector.html#type" class="tsd-kind-icon">type</a></li>
</ul>
</section>
</div>
</section>
</section>
<section class="tsd-panel-group tsd-member-group ">
<h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
<a name="exact" class="tsd-anchor"></a>
<h3>exact</h3>
<div class="tsd-signature tsd-kind-icon">exact<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
<aside class="tsd-sources">
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
<a name="prefix" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagOptional">Optional</span> prefix</h3>
<div class="tsd-signature tsd-kind-icon">prefix<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
<aside class="tsd-sources">
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
<a name="refinedby" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagOptional">Optional</span> refined<wbr>By</h3>
<div class="tsd-signature tsd-kind-icon">refined<wbr>By<span class="tsd-signature-symbol">:</span> <a href="selector.selector-1.html" class="tsd-signature-type" data-tsd-kind="Interface">Selector</a></div>
<aside class="tsd-sources">
<p>Inherited from <a href="selector.selector-1.html">Selector</a>.<a href="selector.selector-1.html#refinedby">refinedBy</a></p>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>A Selector can be refined by another Selector.</p>
</div>
<p>See <a href="https://www.w3.org/TR/2017/REC-annotation-model-20170223/#refinement-of-selection" class="external">§4.2.9 Refinement of Selection</a> in the Web Annotation Data Model.</p>
<p>Corresponds to RDF property <a href="http://www.w3.org/ns/oa#refinedBy" class="external">http://www.w3.org/ns/oa#refinedBy</a></p>
</div>
</section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
<a name="suffix" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagOptional">Optional</span> suffix</h3>
<div class="tsd-signature tsd-kind-icon">suffix<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
<aside class="tsd-sources">
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
<a name="type" class="tsd-anchor"></a>
<h3>type</h3>
<div class="tsd-signature tsd-kind-icon">type<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;TextQuoteSelector&quot;</span></div>
<aside class="tsd-sources">
</aside>
</section>
</section>
</div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<nav class="tsd-navigation primary">
<ul>
<li class=" ">
<a href="../index.html">Exports</a>
</li>
<li class=" tsd-kind-module">
<a href="../modules/dom.html">dom</a>
</li>
<li class="current tsd-kind-module">
<a href="../modules/selector.html">selector</a>
</li>
</ul>
</nav>
<nav class="tsd-navigation secondary menu-sticky">
<ul class="before-current">
<li class=" tsd-kind-interface tsd-parent-kind-module tsd-has-type-parameter">
<a href="selector.chunk.html" class="tsd-kind-icon">Chunk</a>
</li>
<li class=" tsd-kind-interface tsd-parent-kind-module tsd-has-type-parameter">
<a href="selector.chunkrange.html" class="tsd-kind-icon">Chunk<wbr>Range</a>
</li>
<li class=" tsd-kind-interface tsd-parent-kind-module tsd-has-type-parameter">
<a href="selector.chunker.html" class="tsd-kind-icon">Chunker</a>
</li>
<li class=" tsd-kind-interface tsd-parent-kind-module">
<a href="selector.cssselector.html" class="tsd-kind-icon">Css<wbr>Selector</a>
</li>
<li class=" tsd-kind-interface tsd-parent-kind-module">
<a href="selector.describetextquoteoptions.html" class="tsd-kind-icon">Describe<wbr>Text<wbr>Quote<wbr>Options</a>
</li>
<li class=" tsd-kind-interface tsd-parent-kind-module tsd-has-type-parameter">
<a href="selector.matcher.html" class="tsd-kind-icon">Matcher</a>
</li>
<li class=" tsd-kind-interface tsd-parent-kind-module">
<a href="selector.rangeselector.html" class="tsd-kind-icon">Range<wbr>Selector</a>
</li>
<li class=" tsd-kind-interface tsd-parent-kind-module">
<a href="selector.selector-1.html" class="tsd-kind-icon">Selector</a>
</li>
<li class=" tsd-kind-interface tsd-parent-kind-module">
<a href="selector.textpositionselector.html" class="tsd-kind-icon">Text<wbr>Position<wbr>Selector</a>
</li>
</ul>
<ul class="current">
<li class="current tsd-kind-interface tsd-parent-kind-module">
<a href="selector.textquoteselector.html" class="tsd-kind-icon">Text<wbr>Quote<wbr>Selector</a>
<ul>
<li class=" tsd-kind-property tsd-parent-kind-interface">
<a href="selector.textquoteselector.html#exact" class="tsd-kind-icon">exact</a>
</li>
<li class=" tsd-kind-property tsd-parent-kind-interface">
<a href="selector.textquoteselector.html#prefix" class="tsd-kind-icon">prefix</a>
</li>
<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-inherited">
<a href="selector.textquoteselector.html#refinedby" class="tsd-kind-icon">refined<wbr>By</a>
</li>
<li class=" tsd-kind-property tsd-parent-kind-interface">
<a href="selector.textquoteselector.html#suffix" class="tsd-kind-icon">suffix</a>
</li>
<li class=" tsd-kind-property tsd-parent-kind-interface">
<a href="selector.textquoteselector.html#type" class="tsd-kind-icon">type</a>
</li>
</ul>
</li>
</ul>
<ul class="after-current">
<li class=" tsd-kind-function tsd-parent-kind-module">
<a href="../modules/selector.html#chunkequals" class="tsd-kind-icon">chunk<wbr>Equals</a>
</li>
<li class=" tsd-kind-function tsd-parent-kind-module">
<a href="../modules/selector.html#chunkrangeequals" class="tsd-kind-icon">chunk<wbr>Range<wbr>Equals</a>
</li>
<li class=" tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter">
<a href="../modules/selector.html#describetextposition" class="tsd-kind-icon">describe<wbr>Text<wbr>Position</a>
</li>
<li class=" tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter">
<a href="../modules/selector.html#describetextquote" class="tsd-kind-icon">describe<wbr>Text<wbr>Quote</a>
</li>
<li class=" tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter">
<a href="../modules/selector.html#makerefinable" class="tsd-kind-icon">make<wbr>Refinable</a>
</li>
<li class=" tsd-kind-function tsd-parent-kind-module">
<a href="../modules/selector.html#textpositionselectormatcher" class="tsd-kind-icon">text<wbr>Position<wbr>Selector<wbr>Matcher</a>
</li>
<li class=" tsd-kind-function tsd-parent-kind-module">
<a href="../modules/selector.html#textquoteselectormatcher" class="tsd-kind-icon">text<wbr>Quote<wbr>Selector<wbr>Matcher</a>
</li>
</ul>
</nav>
</div>
</div>
</div>
</div>
<footer class="ui bottom attached segment">
<div class="ui container">
<div class="ui equal height divided stackable grid">
<div class="four wide column">
<a class="ui left floated medium image" href="https://apache.org/" target="_blank">
<img src="https://incubator.apache.org/images/incubator_feather_egg_logo_sm.png" alt="logo of the Apache Incubator" />
</a>
<p>
<em>Copyright © 2016-2018 The Apache Software Foundation, Licensed under
the <a href="https://www.apache.org/licenses/LICENSE-2.0" rel="license external">Apache License, Version 2.0</a>.
|
<a rel="external" href="https://www.apache.org/foundation/policies/privacy">Privacy Policy</a>
</em>
</p>
</div>
<div class="nine wide column">
<p>
<em>Apache Annotator is an effort undergoing incubation at <a target="_blank" href="https://apache.org/">The Apache Software Foundation (ASF)</a> sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.</em></p>
<p><em>Apache®, the names of Apache projects, and the feather logo are either <a rel="external" href="https://www.apache.org/foundation/marks/list/">registered trademarks or trademarks</a> of the Apache Software Foundation in the United States and/or other countries.</em></p>
</div>
<div class="three wide column">
<h4 class="header">The <abbr title="Apache Software Foundation">ASF</abbr></h4>
<div class="ui link list">
<a class="item" rel="external" href="https://incubator.apache.org/">Apache Incubator</a>
<a class="item" rel="external" href="https://www.apache.org/">About the ASF</a>
<a class="item" rel="external" href="https://www.apache.org/events/current-event">Events</a>
<a class="item" rel="external" href="https://www.apache.org/foundation/thanks.html">Thanks</a>
<a class="item" rel="external" href="https://www.apache.org/foundation/sponsorship.html">Become a Sponsor</a>
<a class="item" rel="external" href="https://www.apache.org/security/">Security</a>
<a class="item" rel="external" href="https://www.apache.org/licenses/">License</a>
</div>
</div>
</div>
</div>
</footer>
</body>
</html>