Package | Description |
---|---|
com.hp.sdn.misc |
Miscellaneous SDN-specific utilities and auxiliaries for use as part
of implementations in either tier; entities provided within cannot not
be used as part of the mutual interface between the tiers however.
|
com.hp.util |
Generic utility classes.
|
com.hp.util.rs |
Modules providing facilities for building JAX-RS (REST) interfaces.
|
Modifier and Type | Method and Description |
---|---|
protected byte[] |
ResourceClient.request(WebUtils.Tag request)
Converts the specified tag to byte array in UTF-8.
|
Modifier and Type | Class and Description |
---|---|
static class |
HTMLUtils.Body
HTML body tag.
|
static class |
HTMLUtils.Div
HTML division tag.
|
static class |
HTMLUtils.Head
HTML head tag.
|
static class |
HTMLUtils.HTMLTag
Generic HTML tag.
|
static class |
HTMLUtils.Image
HTML image tag.
|
static class |
HTMLUtils.Link
HTML anchor tag.
|
static class |
HTMLUtils.Page
HTML page tag.
|
static class |
HTMLUtils.Span
HTML span tag.
|
Modifier and Type | Method and Description |
---|---|
WebUtils.Tag |
WebUtils.Tag.addCData(String data)
Adds the specified string as content of this tag, but wrapped in a CDATA construct.
|
WebUtils.Tag |
WebUtils.Tag.addContent(String s)
Adds the specified string as verbatim content of this tag.
|
WebUtils.Tag |
WebUtils.Tag.addContent(String s,
boolean textInlining)
Adds the specified string as content of this tag.
|
WebUtils.Tag |
WebUtils.Tag.addContent(String s,
boolean textInlining,
boolean verbatim)
Adds the specified string as content of this tag.
|
WebUtils.Tag |
WebUtils.Tag.addContent(WebUtils.Tag tag)
Adds the specified tag as a child to this tag.
|
WebUtils.Tag |
WebUtils.Tag.attr(String name,
Object value)
Adds an attribute with the given name and value.
|
WebUtils.Tag |
WebUtils.Tag.noShorthand() |
Modifier and Type | Method and Description |
---|---|
HTMLUtils.HTMLTag |
HTMLUtils.HTMLTag.add(WebUtils.Tag tag)
Adds an HTML tag to this HTML tag.
|
WebUtils.Tag |
WebUtils.Tag.addContent(WebUtils.Tag tag)
Adds the specified tag as a child to this tag.
|
Modifier and Type | Method and Description |
---|---|
static WebUtils.Tag |
BaseResource.tag(String name,
Object content)
Create a new XML tag with the specified name and content.
|
static WebUtils.Tag |
BaseResource.tag(javax.ws.rs.core.UriInfo ui,
Class<?> resourceClass,
String name,
Identified entity)
Produces an XML tag with embedded uid and ref elements.
|
static WebUtils.Tag |
BaseResource.tag(javax.ws.rs.core.UriInfo ui,
Class<?> resourceClass,
String name,
String uid)
Produces an XML tag with embedded uid and ref elements.
|
Copyright © 2016. All Rights Reserved.