Searched refs:HTML (Results 1 - 25 of 49) sorted by relevance

12

/openjdk7/jdk/src/share/classes/javax/swing/text/html/parser/
H A DTagElement.java28 import javax.swing.text.html.HTML;
30 * A generic HTML TagElement class. The methods define how white
39 HTML.Tag htmlTag;
48 htmlTag = HTML.getTag(elem.getName());
50 htmlTag = new HTML.UnknownTag(elem.getName());
67 public HTML.Tag getHTMLTag() {
H A DDocumentParser.java30 import javax.swing.text.html.HTML;
38 * A Parser for HTML Documents (actually, you can specify a DTD, but
40 * Reads an InputStream of HTML and
42 * is the default parser used by HTMLEditorKit to parse HTML url's.
63 * <p>HTML.Attributes defines a type safe enumeration of html attributes.
64 * If an attribute key of a tag is defined in HTML.Attribute, the
65 * HTML.Attribute will be used as the key, otherwise a String will be used.
67 * not defined in HTML.Attribute, where as class is, therefore the
68 * AttributeSet will have two values in it, HTML.Attribute.CLASS with
90 * AttributeSet will be <code>HTML
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/serialize/
H A DMethod.java40 * The output method for HTML documents.
42 public static final String HTML = "html"; field in class:Method
46 * The output method for HTML documents as XHTML.
H A DSerializerFactoryImpl.java32 * markup serializers (XML, HTML, XHTML ).
50 ! _method.equals( Method.HTML ) &&
97 } else if ( _method.equals( Method.HTML ) ) {
H A DSerializerFactory.java61 factory = new SerializerFactoryImpl( Method.HTML );
H A DOutputFormat.java50 * for the specified method (XML, HTML, Text, etc), encoding and indentation
52 * compatible with the document type (XML, HTML, Text, etc), encoding and
71 * Public identifier for HTML 4.01 (Strict) document type.
73 public static final String HTMLPublicId = "-//W3C//DTD HTML 4.01//EN";
76 * System identifier for HTML 4.01 (Strict) document type.
354 * For XML the value would be "1.0", for HTML
813 * name only (in HTML mode).
818 * name only (in HTML mode).
857 return Method.HTML;
870 return Method.HTML;
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/serializer/
H A DMethod.java29 * Three default output methods are defined: XML, HTML, and TEXT.
56 * The output method type for HTML documents: <tt>html</tt>.
58 public static final String HTML = "html"; field in class:Method
74 * XML or HTML type (depending on the first tag in the output being html or
/openjdk7/jdk/src/share/classes/javax/swing/text/html/
H A DHTMLDocument.java40 * A document that models HTML. The purpose of this model is to
42 * described by an HTML document is not exactly replicated by default.
51 * the document be non-lossy (although reproducing the HTML format may
54 * <p>The document models only HTML, and makes no attempt to store
57 * always have a value of type <code>HTML.Tag</code> that identifies
85 * to insert HTML content into an existing document.</p>
97 * example assumes the HTML document is initialized in the following
107 * <p>With the following HTML content:</p>
127 * <p>All the methods for modifying an HTML document require an {@link
128 * Element}. Elements can be obtained from an HTML documen
[all...]
H A DHTMLEditorKit.java47 * HTML is a very popular format of content, some support is provided
49 * supports HTML version 3.2 (with some extensions), and is migrating
54 * There are several goals of the HTML EditorKit provided, that have
55 * an effect upon the way that HTML is modeled. These
64 * design considerations. There are a substantial number of HTML
65 * documents that don't properly conform to an HTML specification.
69 * text editing gestures is preferred over using the HTML structure
70 * exactly as defined in the HTML document.
72 * The modeling of HTML is provided by the class <code>HTMLDocument</code>.
73 * Its documention describes the details of how the HTML i
[all...]
H A DHTMLWriter.java65 private Vector<HTML.Tag> tags = new Vector<HTML.Tag>(10);
80 private Vector<HTML.Tag> tagsToRemove = new Vector<HTML.Tag>(10);
150 StyleConstants.NameAttribute) == HTML.Tag.BODY) {
180 if (!matchNameAttribute(attrs, HTML.Tag.PRE) &&
225 if (!matchNameAttribute(attrs, HTML.Tag.PRE) &&
243 * attributes with a key of type HTML.Tag,
246 * HTML.Attribute.ENDTAG.
260 if (name instanceof HTML
[all...]
H A DOption.java58 selected = (attr.getAttribute(HTML.Attribute.SELECTED) != null);
110 String value = (String) attr.getAttribute(HTML.Attribute.VALUE);
H A DFormView.java158 HTML.Tag t = (HTML.Tag)
166 if (t == HTML.Tag.INPUT) {
168 } else if (t == HTML.Tag.SELECT) {
173 int size = HTML.getIntegerAttributeValue(attr,
174 HTML.Attribute.SIZE,
183 } else if (t == HTML.Tag.TEXTAREA) {
185 int rows = HTML.getIntegerAttributeValue(attr,
186 HTML.Attribute.ROWS,
189 int cols = HTML
[all...]
H A DIsindexView.java67 String prompt = (String)attr.getAttribute(HTML.Attribute.PROMPT);
102 String action = (String) attr.getAttribute(HTML.Attribute.ACTION);
H A DFrameView.java38 * Implements a FrameView, intended to support the HTML
70 String srcAtt = (String)attributes.getAttribute(HTML.Attribute.SRC);
171 String marginStr = (String)attributes.getAttribute(HTML.Attribute.MARGINWIDTH);
185 marginStr = (String)attributes.getAttribute(HTML.Attribute.MARGINHEIGHT);
207 String frameBorder = (String)attributes.getAttribute(HTML.Attribute.FRAMEBORDER);
223 String scrolling = (String)attributes.getAttribute(HTML.Attribute.SCROLLING);
373 String srcAtt = (String)attributes.getAttribute(HTML.Attribute.SRC);
411 HTML.Attribute.NAME);
458 /** Editor pane rendering frame of HTML document
H A DImageView.java36 * View of an Image, intended to support the HTML &lt;IMG&gt; tag.
146 * <code>HTML.Attribute.ALT</code>.
150 (HTML.Attribute.ALT);
159 getAttribute(HTML.Attribute.SRC);
267 borderSize = (short)getIntAttr(HTML.Attribute.BORDER, isLink() ?
270 leftInset = rightInset = (short)(getIntAttr(HTML.Attribute.HSPACE,
272 topInset = bottomInset = (short)(getIntAttr(HTML.Attribute.VSPACE,
283 Object alignment = attr.getAttribute(HTML.Attribute.ALIGN);
296 AttributeSet anchorAttr = (AttributeSet)attr.getAttribute(HTML.Tag.A);
298 (HTML
[all...]
H A DCommentView.java88 sas.addAttribute(HTML.Attribute.COMMENT, text);
106 Object comment = as.getAttribute(HTML.Attribute.COMMENT);
H A DStyleSheet.java41 * HTML views being rendered. The StyleSheet is used to
42 * translate the HTML model into visual characteristics.
52 * The primary entry point for HTML View implementations
70 * the HTML attributes don't effect the selector being used,
146 // getRule(HTML.Tag, Element)) results in a unique instance of
159 // AttributeSet that contains HTML.Tag.B, the HTML.Tag.B entry will
176 * of HTML tag. The element given is representing
189 public Style getRule(HTML.Tag t, Element e) {
207 // >= 1 as the HTML
[all...]
H A DCSS.java48 * as a typesafe enumeration. The HTML View implementations use
50 * methods to map between CSS/HTML/StyleConstants. Any shorthand
793 * Convert a set of HTML attributes to an equivalent
796 * @param htmlAttrSet AttributeSet containing the HTML attributes.
804 HTML.Tag tag = getHTMLTag(htmlAttrSet);
805 if ((tag == HTML.Tag.TD) || (tag == HTML.Tag.TH)) {
813 translateAttribute(HTML.Attribute.BORDER, "1", cssAttrSet);
815 String pad = (String)tableAttr.getAttribute(HTML.Attribute.CELLPADDING);
831 if (tag == HTML
[all...]
H A DTableView.java37 * HTML table view.
68 if (o == HTML.Tag.TR) {
161 if (a.isDefined(HTML.Attribute.COLSPAN)) {
162 String s = (String) a.getAttribute(HTML.Attribute.COLSPAN);
182 if (a.isDefined(HTML.Attribute.ROWSPAN)) {
183 String s = (String) a.getAttribute(HTML.Attribute.ROWSPAN);
283 if (o instanceof HTML.Tag) {
284 HTML.Tag kind = (HTML.Tag) o;
285 if (kind == HTML
[all...]
H A DMap.java34 * Map is used to represent a map element that is part of an HTML document.
145 Object shape = attributes.getAttribute(HTML.Attribute.SHAPE);
265 int[] coords = Map.extractCoords(as.getAttribute(HTML.
338 int[] coords = Map.extractCoords(as.getAttribute(HTML.Attribute.
431 int[] coords = Map.extractCoords(as.getAttribute(HTML.Attribute.
/openjdk7/langtools/src/share/classes/com/sun/tools/javadoc/
H A DJavadocClassReader.java58 JavaFileObject.Kind.HTML);
60 JavaFileObject.Kind.HTML);
81 if (fo.isNameCompatible("package", JavaFileObject.Kind.HTML))
/openjdk7/langtools/src/share/classes/javax/tools/
H A DJavaFileObject.java71 * HTML files. For example, regular files ending with {@code
74 HTML(".html"), enum constant in enum:JavaFileObject.Kind
/openjdk7/jdk/test/java/rmi/reliability/benchmark/bench/serial/
H A DMain.java54 static final int HTML = 1; field in class:Main
160 format = HTML;
244 case HTML:
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicHTML.java134 if (name == HTML.Tag.HTML && view.getViewCount() > 1) {
170 if (name == HTML.Tag.HTML && view.getViewCount() > 1) {
193 * Stash the HTML render for the given text into the client
195 * <em>NOT HTML</em> the property will be cleared of any
219 * the component's 'text' property is never treated as HTML.
372 * Root text view that acts as an HTML renderer.
/openjdk7/jdk/test/javax/swing/text/html/parser/Parser/7165725/
H A Dbug7165725.java26 @summary Tests if HTML parser can handle successive script tags in a line
46 import javax.swing.text.html.HTML;
286 public void handleStartTag(HTML.Tag t, MutableAttributeSet a, int pos) {
292 public void handleEndTag(HTML.Tag t, int pos) {
297 public void handleSimpleTag(HTML.Tag t, MutableAttributeSet a, int pos) {

Completed in 119 milliseconds

12