public class LinkContentHandler
extends org.xml.sax.helpers.DefaultHandler
Constructor and Description |
---|
LinkContentHandler()
Default constructor
|
LinkContentHandler(boolean collapseWhitespaceInAnchor)
Default constructor
|
Modifier and Type | Method and Description |
---|---|
void |
characters(char[] ch,
int start,
int length) |
void |
endElement(java.lang.String uri,
java.lang.String local,
java.lang.String name) |
java.util.List<Link> |
getLinks()
Returns the list of collected links.
|
void |
ignorableWhitespace(char[] ch,
int start,
int length) |
void |
startElement(java.lang.String uri,
java.lang.String local,
java.lang.String name,
org.xml.sax.Attributes attributes) |
public LinkContentHandler()
public LinkContentHandler(boolean collapseWhitespaceInAnchor)
collapseWhitespaceInAnchor
- public java.util.List<Link> getLinks()
public void startElement(java.lang.String uri, java.lang.String local, java.lang.String name, org.xml.sax.Attributes attributes)
startElement
in interface org.xml.sax.ContentHandler
startElement
in class org.xml.sax.helpers.DefaultHandler
public void characters(char[] ch, int start, int length)
characters
in interface org.xml.sax.ContentHandler
characters
in class org.xml.sax.helpers.DefaultHandler
public void ignorableWhitespace(char[] ch, int start, int length)
ignorableWhitespace
in interface org.xml.sax.ContentHandler
ignorableWhitespace
in class org.xml.sax.helpers.DefaultHandler
public void endElement(java.lang.String uri, java.lang.String local, java.lang.String name)
endElement
in interface org.xml.sax.ContentHandler
endElement
in class org.xml.sax.helpers.DefaultHandler
Copyright © 2010 - 2020 Adobe. All Rights Reserved