org.apache.batik.dom.svg
Class SVGOMDocument

java.lang.Object
  |
  +--org.apache.batik.dom.AbstractNode
        |
        +--org.apache.batik.dom.AbstractParentNode
              |
              +--org.apache.batik.dom.AbstractDocument
                    |
                    +--org.apache.batik.dom.svg.SVGOMDocument
All Implemented Interfaces:
CSSConstants, Document, DocumentCSS, DocumentEvent, DocumentStyle, DocumentTraversal, DocumentView, EventTarget, ExtendedNode, Localizable, Node, NodeEventTarget, java.io.Serializable, SVGConstants, SVGDocument

public class SVGOMDocument
extends AbstractDocument
implements SVGDocument, DocumentCSS, DocumentView, SVGConstants

This class implements SVGDocument.

See Also:
Serialized Form

Inner Class Summary
protected static class SVGOMDocument.AElementFactory
          To create a 'a' element.
protected static class SVGOMDocument.AltGlyphDefElementFactory
          To create a 'altGlyphDef' element.
protected static class SVGOMDocument.AltGlyphElementFactory
          To create a 'altGlyph' element.
protected static class SVGOMDocument.AltGlyphItemElementFactory
          To create a 'altGlyphItem' element.
protected static class SVGOMDocument.AnimateColorElementFactory
          To create a 'animateColor' element.
protected static class SVGOMDocument.AnimateElementFactory
          To create a 'animate' element.
protected static class SVGOMDocument.AnimateMotionElementFactory
          To create a 'animateMotion' element.
protected static class SVGOMDocument.AnimateTransformElementFactory
          To create a 'animateTransform' element.
protected static class SVGOMDocument.CircleElementFactory
          To create a 'circle' element.
protected static class SVGOMDocument.ClipPathElementFactory
          To create a 'clip-path' element.
protected static class SVGOMDocument.ColorProfileElementFactory
          To create a 'color-profile' element.
protected static class SVGOMDocument.CursorElementFactory
          To create a 'cursor' element.
protected static class SVGOMDocument.DefinitionSrcElementFactory
          To create a 'definition-src' element.
protected static class SVGOMDocument.DefsElementFactory
          To create a 'defs' element.
protected static class SVGOMDocument.DescElementFactory
          To create a 'desc' element.
static interface SVGOMDocument.ElementFactory
          This interface represents a factory of elements.
protected static class SVGOMDocument.EllipseElementFactory
          To create a 'ellipse' element.
protected static class SVGOMDocument.FeBlendElementFactory
          To create a 'feBlend' element.
protected static class SVGOMDocument.FeColorMatrixElementFactory
          To create a 'feColorMatrix' element.
protected static class SVGOMDocument.FeComponentTransferElementFactory
          To create a 'feComponentTransfer' element.
protected static class SVGOMDocument.FeCompositeElementFactory
          To create a 'feComposite' element.
protected static class SVGOMDocument.FeConvolveMatrixElementFactory
          To create a 'feConvolveMatrix' element.
protected static class SVGOMDocument.FeDiffuseLightingElementFactory
          To create a 'feDiffuseLighting' element.
protected static class SVGOMDocument.FeDisplacementMapElementFactory
          To create a 'feDisplacementMap' element.
protected static class SVGOMDocument.FeDistantLightElementFactory
          To create a 'feDistantLight' element.
protected static class SVGOMDocument.FeFloodElementFactory
          To create a 'feFlood' element.
protected static class SVGOMDocument.FeFuncAElementFactory
          To create a 'feFuncA' element.
protected static class SVGOMDocument.FeFuncBElementFactory
          To create a 'feFuncB' element.
protected static class SVGOMDocument.FeFuncGElementFactory
          To create a 'feFuncG' element.
protected static class SVGOMDocument.FeFuncRElementFactory
          To create a 'feFuncR' element.
protected static class SVGOMDocument.FeGaussianBlurElementFactory
          To create a 'feGaussianBlur' element.
protected static class SVGOMDocument.FeImageElementFactory
          To create a 'feImage' element.
protected static class SVGOMDocument.FeMergeElementFactory
          To create a 'feMerge' element.
protected static class SVGOMDocument.FeMergeNodeElementFactory
          To create a 'feMergeNode' element.
protected static class SVGOMDocument.FeMorphologyElementFactory
          To create a 'feMorphology' element.
protected static class SVGOMDocument.FeOffsetElementFactory
          To create a 'feOffset' element.
protected static class SVGOMDocument.FePointLightElementFactory
          To create a 'fePointLight' element.
protected static class SVGOMDocument.FeSpecularLightingElementFactory
          To create a 'feSpecularLighting' element.
protected static class SVGOMDocument.FeSpotLightElementFactory
          To create a 'feSpotLight' element.
protected static class SVGOMDocument.FeTileElementFactory
          To create a 'feTile' element.
protected static class SVGOMDocument.FeTurbulenceElementFactory
          To create a 'feTurbulence' element
protected static class SVGOMDocument.FilterElementFactory
          To create a 'filter' element.
protected static class SVGOMDocument.FontElementFactory
          To create a 'font' element.
protected static class SVGOMDocument.FontFaceElementFactory
          To create a 'font-face' element.
protected static class SVGOMDocument.FontFaceFormatElementFactory
          To create a 'font-face-format' element.
protected static class SVGOMDocument.FontFaceNameElementFactory
          To create a 'font-face-name' element.
protected static class SVGOMDocument.FontFaceSrcElementFactory
          To create a 'font-face-src' element.
protected static class SVGOMDocument.FontFaceUriElementFactory
          To create a 'font-face-uri' element.
protected static class SVGOMDocument.ForeignObjectElementFactory
          To create a 'foreignObject' element.
protected static class SVGOMDocument.GElementFactory
          To create a 'g' element.
protected static class SVGOMDocument.GlyphElementFactory
          To create a 'glyph' element.
protected static class SVGOMDocument.GlyphRefElementFactory
          To create a 'glyphRef' element.
protected static class SVGOMDocument.HkernElementFactory
          To create a 'hkern' element.
protected static class SVGOMDocument.ImageElementFactory
          To create a 'image' element.
protected static class SVGOMDocument.LinearGradientElementFactory
          To create a 'linearGradient' element.
protected static class SVGOMDocument.LineElementFactory
          To create a 'line' element.
protected static class SVGOMDocument.MarkerElementFactory
          To create a 'marker' element.
protected static class SVGOMDocument.MaskElementFactory
          To create a 'mask' element.
protected static class SVGOMDocument.MetadataElementFactory
          To create a 'metadata' element.
protected static class SVGOMDocument.MissingGlyphElementFactory
          To create a 'missing-glyph' element.
protected static class SVGOMDocument.MpathElementFactory
          To create a 'mpath' element.
protected static class SVGOMDocument.PathElementFactory
          To create a 'path' element.
protected static class SVGOMDocument.PatternElementFactory
          To create a 'pattern' element.
protected static class SVGOMDocument.PolygonElementFactory
          To create a 'polygon' element.
protected static class SVGOMDocument.PolylineElementFactory
          To create a 'polyline' element.
protected static class SVGOMDocument.RadialGradientElementFactory
          To create a 'radialGradient' element.
protected static class SVGOMDocument.RectElementFactory
          To create a 'rect' element.
protected static class SVGOMDocument.ScriptElementFactory
          To create a 'script' element.
protected static class SVGOMDocument.SetElementFactory
          To create a 'set' element.
protected static class SVGOMDocument.StopElementFactory
          To create a 'stop' element.
protected static class SVGOMDocument.StyleElementFactory
          To create a 'style' element.
protected static class SVGOMDocument.SvgElementFactory
          To create an 'svg' element.
protected static class SVGOMDocument.SwitchElementFactory
          To create a 'switch' element.
protected static class SVGOMDocument.SymbolElementFactory
          To create a 'symbol' element.
protected static class SVGOMDocument.TextElementFactory
          To create a 'text' element.
protected static class SVGOMDocument.TextPathElementFactory
          To create a 'textPath' element.
protected static class SVGOMDocument.TitleElementFactory
          To create a 'title' element.
protected static class SVGOMDocument.TrefElementFactory
          To create a 'tref' element.
protected static class SVGOMDocument.TspanElementFactory
          To create a 'tspan' element.
protected static class SVGOMDocument.UseElementFactory
          To create a 'use' element.
protected static class SVGOMDocument.ViewElementFactory
          To create a 'view' element.
protected static class SVGOMDocument.VkernElementFactory
          To create a 'vkern' element.
 
Inner classes inherited from class org.apache.batik.dom.AbstractParentNode
AbstractParentNode.ChildNodes, AbstractParentNode.Nodes
 
Field Summary
protected  SVGContext context
          The document context.
protected  HashTable customFactories
          The custom elements factories.
protected  AbstractView defaultView
          The default view.
protected  HashTable factories
          The SVG element factories.
protected  LocalizableSupport localizableSupport
          The localizable support for the error messages.
protected  boolean readonly
          Is this document immutable?
protected  java.lang.String referrer
          The string representing the referrer.
protected static java.lang.String RESOURCES
          The error messages bundle class name.
protected  java.net.URL url
          The url of the document.
 
Fields inherited from class org.apache.batik.dom.AbstractDocument
documentEventSupport, eventsEnabled, implementation, traversalSupport
 
Fields inherited from class org.apache.batik.dom.AbstractParentNode
childNodes
 
Fields inherited from class org.apache.batik.dom.AbstractNode
EMPTY_NODE_LIST, eventSupport, ownerDocument
 
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
 
Fields inherited from interface org.apache.batik.util.SVGConstants
ATTR_ID, PATH_CLOSE, PATH_CUBIC_TO, PATH_HORIZONTAL_LINE_TO, PATH_LINE_TO, PATH_MOVE, PATH_QUAD_TO, PATH_SMOOTH_QUAD_TO, PATH_VERTICAL_LINE_TO, SVG_100_VALUE, SVG_200_VALUE, SVG_300_VALUE, SVG_400_VALUE, SVG_500_VALUE, SVG_600_VALUE, SVG_700_VALUE, SVG_800_VALUE, SVG_900_VALUE, SVG_A_TAG, SVG_A_VALUE, SVG_ABSOLUTE_COLORIMETRIC_VALUE, SVG_ACCENT_HEIGHT_ATTRIBUTE, SVG_ALIGN_VALUE, SVG_ALL_VALUE, SVG_ALPHABETIC_ATTRIBUTE, SVG_ALT_GLYPH_DEF_TAG, SVG_ALT_GLYPH_ITEM_TAG, SVG_ALT_GLYPH_TAG, SVG_AMPLITUDE_ATTRIBUTE, SVG_ANIMATE_COLOR_TAG, SVG_ANIMATE_MOTION_TAG, SVG_ANIMATE_TAG, SVG_ANIMATE_TRANSFORM_TAG, SVG_ARABIC_FORM_ATTRIBUTE, SVG_ARITHMETIC_VALUE, SVG_ASCENT_ATTRIBUTE, SVG_ATOP_VALUE, SVG_AUTO_VALUE, SVG_AZIMUTH_ATTRIBUTE, SVG_B_VALUE, SVG_BACKGROUND_ALPHA_VALUE, SVG_BACKGROUND_IMAGE_VALUE, SVG_BASE_FREQUENCY_ATTRIBUTE, SVG_BASELINE_ATTRIBUTE, SVG_BBOX_ATTRIBUTE, SVG_BEVEL_VALUE, SVG_BIAS_ATTRIBUTE, SVG_BOLD_VALUE, SVG_BOLDER_VALUE, SVG_BUTT_VALUE, SVG_CAP_HEIGHT_ATTRIBUTE, SVG_CIRCLE_CX_DEFAULT_VALUE, SVG_CIRCLE_CY_DEFAULT_VALUE, SVG_CIRCLE_TAG, SVG_CLASS_ATTRIBUTE, SVG_CLIP_PATH_ATTRIBUTE, SVG_CLIP_PATH_CLIP_PATH_UNITS_DEFAULT_VALUE, SVG_CLIP_PATH_TAG, SVG_CLIP_PATH_UNITS_ATTRIBUTE, SVG_COLOR_INTERPOLATION_ATTRIBUTE, SVG_COLOR_PROFILE_TAG, SVG_COLOR_RENDERING_ATTRIBUTE, SVG_COMPONENT_TRANSFER_FUNCTION_AMPLITUDE_DEFAULT_VALUE, SVG_COMPONENT_TRANSFER_FUNCTION_EXPONENT_DEFAULT_VALUE, SVG_COMPONENT_TRANSFER_FUNCTION_INTERCEPT_DEFAULT_VALUE, SVG_COMPONENT_TRANSFER_FUNCTION_OFFSET_DEFAULT_VALUE, SVG_COMPONENT_TRANSFER_FUNCTION_SLOPE_DEFAULT_VALUE, SVG_COMPONENT_TRANSFER_FUNCTION_TABLE_VALUES_DEFAULT_VALUE, SVG_COMPOSITE_VALUE, SVG_CONTENT_SCRIPT_TYPE_ATTRIBUTE, SVG_CONTENT_STYLE_TYPE_ATTRIBUTE, SVG_CRISP_EDGES_VALUE, SVG_CURSOR_TAG, SVG_CX_ATTRIBUTE, SVG_CY_ATTRIBUTE, SVG_D_ATTRIBUTE, SVG_DARKEN_VALUE, SVG_DEFINITION_SRC_TAG, SVG_DEFS_TAG, SVG_DESC_TAG, SVG_DESCENT_ATTRIBUTE, SVG_DIFFUSE_CONSTANT_ATTRIBUTE, SVG_DIGIT_ONE_VALUE, SVG_DILATE_VALUE, SVG_DISABLE_VALUE, SVG_DISCRETE_VALUE, SVG_DIVISOR_ATTRIBUTE, SVG_DUPLICATE_VALUE, SVG_DX_ATTRIBUTE, SVG_DY_ATTRIBUTE, SVG_EDGE_MODE_ATTRIBUTE, SVG_ELEVATION_ATTRIBUTE, SVG_ELLIPSE_CX_DEFAULT_VALUE, SVG_ELLIPSE_CY_DEFAULT_VALUE, SVG_ELLIPSE_TAG, SVG_ENABLE_BACKGROUND_ATTRIBUTE, SVG_END_VALUE, SVG_ERODE_VALUE, SVG_EVEN_ODD_VALUE, SVG_EXACT_VALUE, SVG_EXPONENT_ATTRIBUTE, SVG_FALSE_VALUE, SVG_FE_BLEND_TAG, SVG_FE_COLOR_MATRIX_TAG, SVG_FE_COMPONENT_TRANSFER_TAG, SVG_FE_COMPOSITE_K1_DEFAULT_VALUE, SVG_FE_COMPOSITE_K2_DEFAULT_VALUE, SVG_FE_COMPOSITE_K3_DEFAULT_VALUE, SVG_FE_COMPOSITE_K4_DEFAULT_VALUE, SVG_FE_COMPOSITE_OPERATOR_DEFAULT_VALUE, SVG_FE_COMPOSITE_TAG, SVG_FE_CONVOLVE_MATRIX_EDGE_MODE_DEFAULT_VALUE, SVG_FE_CONVOLVE_MATRIX_TAG, SVG_FE_DIFFUSE_LIGHTING_DIFFUSE_CONSTANT_DEFAULT_VALUE, SVG_FE_DIFFUSE_LIGHTING_SURFACE_SCALE_DEFAULT_VALUE, SVG_FE_DIFFUSE_LIGHTING_TAG, SVG_FE_DISPLACEMENT_MAP_SCALE_DEFAULT_VALUE, SVG_FE_DISPLACEMENT_MAP_TAG, SVG_FE_DISTANT_LIGHT_AZIMUTH_DEFAULT_VALUE, SVG_FE_DISTANT_LIGHT_ELEVATION_DEFAULT_VALUE, SVG_FE_DISTANT_LIGHT_TAG, SVG_FE_FLOOD_TAG, SVG_FE_FUNC_A_TAG, SVG_FE_FUNC_B_TAG, SVG_FE_FUNC_G_TAG, SVG_FE_FUNC_R_TAG, SVG_FE_GAUSSIAN_BLUR_TAG, SVG_FE_IMAGE_TAG, SVG_FE_MERGE_NODE_TAG, SVG_FE_MERGE_TAG, SVG_FE_MORPHOLOGY_TAG, SVG_FE_OFFSET_TAG, SVG_FE_POINT_LIGHT_TAG, SVG_FE_POINT_LIGHT_X_DEFAULT_VALUE, SVG_FE_POINT_LIGHT_Y_DEFAULT_VALUE, SVG_FE_POINT_LIGHT_Z_DEFAULT_VALUE, SVG_FE_SPECULAR_LIGHTING_SPECULAR_CONSTANT_DEFAULT_VALUE, SVG_FE_SPECULAR_LIGHTING_SPECULAR_EXPONENT_DEFAULT_VALUE, SVG_FE_SPECULAR_LIGHTING_SURFACE_SCALE_DEFAULT_VALUE, SVG_FE_SPECULAR_LIGHTING_TAG, SVG_FE_SPOT_LIGHT_LIMITING_CONE_ANGLE_DEFAULT_VALUE, SVG_FE_SPOT_LIGHT_POINTS_AT_X_DEFAULT_VALUE, SVG_FE_SPOT_LIGHT_POINTS_AT_Y_DEFAULT_VALUE, SVG_FE_SPOT_LIGHT_POINTS_AT_Z_DEFAULT_VALUE, SVG_FE_SPOT_LIGHT_SPECULAR_EXPONENT_DEFAULT_VALUE, SVG_FE_SPOT_LIGHT_TAG, SVG_FE_SPOT_LIGHT_X_DEFAULT_VALUE, SVG_FE_SPOT_LIGHT_Y_DEFAULT_VALUE, SVG_FE_SPOT_LIGHT_Z_DEFAULT_VALUE, SVG_FE_TILE_TAG, SVG_FE_TURBULENCE_NUM_OCTAVES_DEFAULT_VALUE, SVG_FE_TURBULENCE_SEED_DEFAULT_VALUE, SVG_FE_TURBULENCE_TAG, SVG_FILL_ATTRIBUTE, SVG_FILL_OPACITY_ATTRIBUTE, SVG_FILL_PAINT_VALUE, SVG_FILL_RULE_ATTRIBUTE, SVG_FILTER_ATTRIBUTE, SVG_FILTER_FILTER_UNITS_DEFAULT_VALUE, SVG_FILTER_HEIGHT_DEFAULT_VALUE, SVG_FILTER_PRIMITIVE_UNITS_DEFAULT_VALUE, SVG_FILTER_RES_ATTRIBUTE, SVG_FILTER_TAG, SVG_FILTER_UNITS_ATTRIBUTE, SVG_FILTER_WIDTH_DEFAULT_VALUE, SVG_FILTER_X_DEFAULT_VALUE, SVG_FILTER_Y_DEFAULT_VALUE, SVG_FLOOD_COLOR_ATTRIBUTE, SVG_FLOOD_OPACITY_ATTRIBUTE, SVG_FLOOD_VALUE, SVG_FONT_FACE_FONT_STRETCH_DEFAULT_VALUE, SVG_FONT_FACE_FONT_STYLE_DEFAULT_VALUE, SVG_FONT_FACE_FONT_VARIANT_DEFAULT_VALUE, SVG_FONT_FACE_FONT_WEIGHT_DEFAULT_VALUE, SVG_FONT_FACE_FORMAT_TAG, SVG_FONT_FACE_NAME_TAG, SVG_FONT_FACE_PANOSE_1_DEFAULT_VALUE, SVG_FONT_FACE_SLOPE_DEFAULT_VALUE, SVG_FONT_FACE_SRC_TAG, SVG_FONT_FACE_TAG, SVG_FONT_FACE_UNITS_PER_EM_DEFAULT_VALUE, SVG_FONT_FACE_URI_TAG, SVG_FONT_FAMILY_ATTRIBUTE, SVG_FONT_SIZE_ATTRIBUTE, SVG_FONT_STRETCH_ATTRIBUTE, SVG_FONT_STYLE_ATTRIBUTE, SVG_FONT_TAG, SVG_FONT_VARIANT_ATTRIBUTE, SVG_FONT_WEIGHT_ATTRIBUTE, SVG_FOREIGN_OBJECT_TAG, SVG_FRACTAL_NOISE_VALUE, SVG_FX_ATTRIBUTE, SVG_FY_ATTRIBUTE, SVG_G_TAG, SVG_G_VALUE, SVG_G1_ATTRIBUTE, SVG_G2_ATTRIBUTE, SVG_GAMMA_VALUE, SVG_GEOMETRIC_PRECISION_VALUE, SVG_GLYPH_NAME_ATTRIBUTE, SVG_GLYPH_REF_TAG, SVG_GLYPH_TAG, SVG_GRADIENT_TRANSFORM_ATTRIBUTE, SVG_GRADIENT_UNITS_ATTRIBUTE, SVG_H_VALUE, SVG_HANGING_ATTRIBUTE, SVG_HEIGHT_ATTRIBUTE, SVG_HKERN_TAG, SVG_HORIZ_ADV_X_ATTRIBUTE, SVG_HORIZ_ORIGIN_X_ATTRIBUTE, SVG_HORIZ_ORIGIN_X_DEFAULT_VALUE, SVG_HORIZ_ORIGIN_Y_ATTRIBUTE, SVG_HORIZ_ORIGIN_Y_DEFAULT_VALUE, SVG_HREF_ATTRIBUTE, SVG_HUE_ROTATE_VALUE, SVG_HUNDRED_PERCENT_VALUE, SVG_ID_ATTRIBUTE, SVG_IDENTITY_VALUE, SVG_IDEOGRAPHIC_ATTRIBUTE, SVG_IMAGE_RENDERING_ATTRIBUTE, SVG_IMAGE_TAG, SVG_IMAGE_X_DEFAULT_VALUE, SVG_IMAGE_Y_DEFAULT_VALUE, SVG_IN_ATTRIBUTE, SVG_IN_VALUE, SVG_IN2_ATTRIBUTE, SVG_INITIAL_VALUE, SVG_INTERCEPT_ATTRIBUTE, SVG_ISOLATED_VALUE, SVG_ITALIC_VALUE, SVG_K_ATTRIBUTE, SVG_K1_ATTRIBUTE, SVG_K2_ATTRIBUTE, SVG_K3_ATTRIBUTE, SVG_K4_ATTRIBUTE, SVG_KERN_K_DEFAULT_VALUE, SVG_KERNEL_MATRIX_ATTRIBUTE, SVG_KERNEL_UNIT_LENGTH_ATTRIBUTE, SVG_KERNEL_UNIT_LENGTH_X_ATTRIBUTE, SVG_KERNEL_UNIT_LENGTH_Y_ATTRIBUTE, SVG_KERNING_ATTRIBUTE, SVG_LANG_ATTRIBUTE, SVG_LENGTH_ADJUST_ATTRIBUTE, SVG_LIGHT_COLOR_ATTRIBUTE, SVG_LIGHTEN_VALUE, SVG_LIGHTER_VALUE, SVG_LIMITING_CONE_ANGLE_ATTRIBUTE, SVG_LINE_TAG, SVG_LINEAR_GRADIENT_TAG, SVG_LINEAR_GRADIENT_X1_DEFAULT_VALUE, SVG_LINEAR_GRADIENT_X2_DEFAULT_VALUE, SVG_LINEAR_GRADIENT_Y1_DEFAULT_VALUE, SVG_LINEAR_GRADIENT_Y2_DEFAULT_VALUE, SVG_LINEAR_RGB_VALUE, SVG_LINEAR_VALUE, SVG_LUMINANCE_TO_ALPHA_VALUE, SVG_MAGNIFY_VALUE, SVG_MARKER_HEIGHT_ATTRIBUTE, SVG_MARKER_MARKER_HEIGHT_DEFAULT_VALUE, SVG_MARKER_MARKER_UNITS_DEFAULT_VALUE, SVG_MARKER_MARKER_WIDTH_DEFAULT_VALUE, SVG_MARKER_ORIENT_DEFAULT_VALUE, SVG_MARKER_REFX_DEFAULT_VALUE, SVG_MARKER_REFY_DEFAULT_VALUE, SVG_MARKER_TAG, SVG_MARKER_UNITS_ATTRIBUTE, SVG_MARKER_WIDTH_ATTRIBUTE, SVG_MASK_ATTRIBUTE, SVG_MASK_CONTENT_UNITS_ATTRIBUTE, SVG_MASK_HEIGHT_DEFAULT_VALUE, SVG_MASK_MASK_UNITS_DEFAULT_VALUE, SVG_MASK_TAG, SVG_MASK_UNITS_ATTRIBUTE, SVG_MASK_WIDTH_DEFAULT_VALUE, SVG_MASK_X_DEFAULT_VALUE, SVG_MASK_Y_DEFAULT_VALUE, SVG_MATHEMATICAL_ATTRIBUTE, SVG_MATRIX_VALUE, SVG_MEDIA_ATTRIBUTE, SVG_MEDIAL_VALUE, SVG_METADATA_TAG, SVG_METHOD_ATTRIBUTE, SVG_MIDDLE_VALUE, SVG_MISSING_GLYPH_TAG, SVG_MITER_VALUE, SVG_MODE_ATTRIBUTE, SVG_MPATH_TAG, SVG_MULTIPLY_VALUE, SVG_NAME_ATTRIBUTE, SVG_NAMESPACE_URI, SVG_NEW_VALUE, SVG_NINETY_VALUE, SVG_NO_STITCH_VALUE, SVG_NON_ZERO_VALUE, SVG_NONE_VALUE, SVG_NORMAL_VALUE, SVG_NUM_OCTAVES_ATTRIBUTE, SVG_OBJECT_BOUNDING_BOX_VALUE, SVG_OBLIQUE_VALUE, SVG_OFFSET_ATTRIBUTE, SVG_ONE_VALUE, SVG_OPACITY_ATTRIBUTE, SVG_OPAQUE_VALUE, SVG_OPERATOR_ATTRIBUTE, SVG_OPTIMIZE_LEGIBILITY_VALUE, SVG_OPTIMIZE_QUALITY_VALUE, SVG_OPTIMIZE_SPEED_VALUE, SVG_ORDER_ATTRIBUTE, SVG_ORDER_X_ATTRIBUTE, SVG_ORDER_Y_ATTRIBUTE, SVG_ORG_W3C_SVG_FEATURE, SVG_ORG_W3C_SVG_LANG_FEATURE, SVG_ORG_W3C_SVG_STATIC_FEATURE, SVG_ORIENT_ATTRIBUTE, SVG_ORIENTATION_ATTRIBUTE, SVG_OUT_VALUE, SVG_OVER_VALUE, SVG_OVERLINE_POSITION_ATTRIBUTE, SVG_OVERLINE_THICKNESS_ATTRIBUTE, SVG_PAD_VALUE, SVG_PANOSE_1_ATTRIBUTE, SVG_PATH_TAG, SVG_PATTERN_CONTENT_UNITS_ATTRIBUTE, SVG_PATTERN_TAG, SVG_PATTERN_TRANSFORM_ATTRIBUTE, SVG_PATTERN_UNITS_ATTRIBUTE, SVG_PATTERN_X_DEFAULT_VALUE, SVG_PATTERN_Y_DEFAULT_VALUE, SVG_PERCEPTUAL_VALUE, SVG_POINTS_AT_X_ATTRIBUTE, SVG_POINTS_AT_Y_ATTRIBUTE, SVG_POINTS_AT_Z_ATTRIBUTE, SVG_POINTS_ATTRIBUTE, SVG_POLYGON_TAG, SVG_POLYLINE_TAG, SVG_PRESERVE_ALPHA_ATTRIBUTE, SVG_PRESERVE_ASPECT_RATIO_ATTRIBUTE, SVG_PRESERVE_VALUE, SVG_PRIMITIVE_UNITS_ATTRIBUTE, SVG_PUBLIC_ID, SVG_R_ATTRIBUTE, SVG_R_VALUE, SVG_RADIAL_GRADIENT_CX_DEFAULT_VALUE, SVG_RADIAL_GRADIENT_CY_DEFAULT_VALUE, SVG_RADIAL_GRADIENT_R_DEFAULT_VALUE, SVG_RADIAL_GRADIENT_TAG, SVG_RADIUS_ATTRIBUTE, SVG_RECT_TAG, SVG_REF_X_ATTRIBUTE, SVG_REF_Y_ATTRIBUTE, SVG_REFLECT_VALUE, SVG_RELATIVE_COLORIMETRIC_VALUE, SVG_RENDERING_INTENT_ATTRIBUTE, SVG_REPEAT_VALUE, SVG_REQUIRED_EXTENSIONS_ATTRIBUTE, SVG_REQUIRED_FEATURES_ATTRIBUTE, SVG_RESULT_ATTRIBUTE, SVG_RESULT_SCALE_ATTRIBUTE, SVG_ROUND_VALUE, SVG_RX_ATTRIBUTE, SVG_RY_ATTRIBUTE, SVG_SATURATE_VALUE, SVG_SATURATION_VALUE, SVG_SCALE_ATTRIBUTE, SVG_SCREEN_VALUE, SVG_SCRIPT_TAG, SVG_SEED_ATTRIBUTE, SVG_SET_TAG, SVG_SHAPE_RENDERING_ATTRIBUTE, SVG_SLOPE_ATTRIBUTE, SVG_SOURCE_ALPHA_VALUE, SVG_SOURCE_GRAPHIC_VALUE, SVG_SPACE_ATTRIBUTE, SVG_SPACING_AND_GLYPHS_VALUE, SVG_SPACING_ATTRIBUTE, SVG_SPACING_VALUE, SVG_SPECULAR_CONSTANT_ATTRIBUTE, SVG_SPECULAR_EXPONENT_ATTRIBUTE, SVG_SPREAD_METHOD_ATTRIBUTE, SVG_SQUARE_VALUE, SVG_SRGB_VALUE, SVG_START_OFFSET_ATTRIBUTE, SVG_START_VALUE, SVG_STD_DEVIATION_ATTRIBUTE, SVG_STEMH_ATTRIBUTE, SVG_STEMV_ATTRIBUTE, SVG_STITCH_TILES_ATTRIBUTE, SVG_STITCH_VALUE, SVG_STOP_COLOR_ATTRIBUTE, SVG_STOP_OPACITY_ATTRIBUTE, SVG_STOP_TAG, SVG_STRETCH_VALUE, SVG_STRIKETHROUGH_POSITION_ATTRIBUTE, SVG_STRIKETHROUGH_THICKNESS_ATTRIBUTE, SVG_STROKE_ATTRIBUTE, SVG_STROKE_DASHARRAY_ATTRIBUTE, SVG_STROKE_DASHOFFSET_ATTRIBUTE, SVG_STROKE_LINECAP_ATTRIBUTE, SVG_STROKE_LINEJOIN_ATTRIBUTE, SVG_STROKE_MITERLIMIT_ATTRIBUTE, SVG_STROKE_OPACITY_ATTRIBUTE, SVG_STROKE_PAINT_VALUE, SVG_STROKE_WIDTH_ATTRIBUTE, SVG_STROKE_WIDTH_VALUE, SVG_STYLE_ATTRIBUTE, SVG_STYLE_TAG, SVG_SURFACE_SCALE_ATTRIBUTE, SVG_SVG_HEIGHT_DEFAULT_VALUE, SVG_SVG_TAG, SVG_SVG_WIDTH_DEFAULT_VALUE, SVG_SWITCH_TAG, SVG_SYMBOL_TAG, SVG_SYSTEM_ID, SVG_SYSTEM_LANGUAGE_ATTRIBUTE, SVG_TABLE_ATTRIBUTE, SVG_TABLE_VALUE, SVG_TABLE_VALUES_ATTRIBUTE, SVG_TARGET_ATTRIBUTE, SVG_TARGET_X_ATTRIBUTE, SVG_TARGET_Y_ATTRIBUTE, SVG_TERMINAL_VALUE, SVG_TEXT_ANCHOR_ATTRIBUTE, SVG_TEXT_LENGTH_ATTRIBUTE, SVG_TEXT_PATH_TAG, SVG_TEXT_RENDERING_ATTRIBUTE, SVG_TEXT_TAG, SVG_TITLE_ATTRIBUTE, SVG_TITLE_TAG, SVG_TRANSFORM_ATTRIBUTE, SVG_TREF_TAG, SVG_TRUE_VALUE, SVG_TSPAN_TAG, SVG_TURBULENCE_VALUE, SVG_TYPE_ATTRIBUTE, SVG_U1_ATTRIBUTE, SVG_U2_ATTRIBUTE, SVG_UNDERLINE_POSITION_ATTRIBUTE, SVG_UNDERLINE_THICKNESS_ATTRIBUTE, SVG_UNICODE_ATTRIBUTE, SVG_UNICODE_RANGE_ATTRIBUTE, SVG_UNITS_PER_EM_ATTRIBUTE, SVG_USE_TAG, SVG_USER_SPACE_ON_USE_VALUE, SVG_V_ALPHABETIC_ATTRIBUTE, SVG_V_HANGING_ATTRIBUTE, SVG_V_IDEOGRAPHIC_ATTRIBUTE, SVG_V_MATHEMATICAL_ATTRIBUTE, SVG_V_VALUE, SVG_VALUES_ATTRIBUTE, SVG_VERT_ADV_Y_ATTRIBUTE, SVG_VERT_ORIGIN_X_ATTRIBUTE, SVG_VERT_ORIGIN_Y_ATTRIBUTE, SVG_VIEW_BOX_ATTRIBUTE, SVG_VIEW_TAG, SVG_VKERN_TAG, SVG_WIDTH_ATTRIBUTE, SVG_WIDTHS_ATTRIBUTE, SVG_WRAP_VALUE, SVG_X_ATTRIBUTE, SVG_X_CHANNEL_SELECTOR_ATTRIBUTE, SVG_X_HEIGHT_ATTRIBUTE, SVG_X1_ATTRIBUTE, SVG_X2_ATTRIBUTE, SVG_XOR_VALUE, SVG_Y_ATTRIBUTE, SVG_Y_CHANNEL_SELECTOR_ATTRIBUTE, SVG_Y1_ATTRIBUTE, SVG_Y2_ATTRIBUTE, SVG_Z_ATTRIBUTE, SVG_ZERO_PERCENT_VALUE, SVG_ZERO_VALUE, SVG_ZOOM_AND_PAN_ATTRIBUTE, TAG_TEXT_PATH, TRANSFORM_MATRIX, TRANSFORM_ROTATE, TRANSFORM_SCALE, TRANSFORM_SKEWX, TRANSFORM_SKEWY, TRANSFORM_TRANSLATE
 
Fields inherited from interface org.apache.batik.util.CSSConstants
CSS_ACCUMULATE_VALUE, CSS_ACTIVEBORDER_VALUE, CSS_ACTIVECAPTION_VALUE, CSS_AFTER_EDGE_VALUE, CSS_ALIGNMENT_BASELINE_PROPERTY, CSS_ALL_VALUE, CSS_APPWORKSPACE_VALUE, CSS_AUTO_VALUE, CSS_AUTOSENSE_SCRIPT_VALUE, CSS_BACKGROUND_VALUE, CSS_BASELINE_SHIFT_PROPERTY, CSS_BASELINE_VALUE, CSS_BEFORE_EDGE_VALUE, CSS_BEVEL_VALUE, CSS_BIDI_OVERRIDE_VALUE, CSS_BLINK_VALUE, CSS_BLOCK_VALUE, CSS_BOLD_VALUE, CSS_BOLDER_VALUE, CSS_BOTTOM_VALUE, CSS_BUTT_VALUE, CSS_BUTTONFACE_VALUE, CSS_BUTTONHIGHLIGHT_VALUE, CSS_BUTTONSHADOW_VALUE, CSS_BUTTONTEXT_VALUE, CSS_CAPTIONTEXT_VALUE, CSS_CENTER_VALUE, CSS_CLIP_PATH_PROPERTY, CSS_CLIP_PROPERTY, CSS_CLIP_RULE_PROPERTY, CSS_COLLAPSE_VALUE, CSS_COLOR_INTERPOLATION_FILTERS_PROPERTY, CSS_COLOR_INTERPOLATION_PROPERTY, CSS_COLOR_PROFILE_PROPERTY, CSS_COLOR_PROPERTY, CSS_COLOR_RENDERING_PROPERTY, CSS_COMPACT_VALUE, CSS_CONDENSED_VALUE, CSS_CRISPEDGES_VALUE, CSS_CROSSHAIR_VALUE, CSS_CURRENTCOLOR_VALUE, CSS_CURSIVE_VALUE, CSS_CURSOR_PROPERTY, CSS_DEFAULT_VALUE, CSS_DIRECTION_PROPERTY, CSS_DISPLAY_PROPERTY, CSS_DOMINANT_BASELINE_PROPERTY, CSS_E_RESIZE_VALUE, CSS_EMBED_VALUE, CSS_ENABLE_BACKGROUND_PROPERTY, CSS_END_VALUE, CSS_EVENODD_VALUE, CSS_EXPANDED_VALUE, CSS_EXTRA_CONDENSED_VALUE, CSS_EXTRA_EXPANDED_VALUE, CSS_FANTASY_VALUE, CSS_FILL_OPACITY_PROPERTY, CSS_FILL_PROPERTY, CSS_FILL_RULE_PROPERTY, CSS_FILL_VALUE, CSS_FILLSTROKE_VALUE, CSS_FILTER_PROPERTY, CSS_FLOOD_COLOR_PROPERTY, CSS_FLOOD_OPACITY_PROPERTY, CSS_FONT_FAMILY_PROPERTY, CSS_FONT_PROPERTY, CSS_FONT_SIZE_ADJUST_PROPERTY, CSS_FONT_SIZE_PROPERTY, CSS_FONT_STRETCH_PROPERTY, CSS_FONT_STYLE_PROPERTY, CSS_FONT_VARIANT_PROPERTY, CSS_FONT_WEIGHT_PROPERTY, CSS_GEOMETRICPRECISION_VALUE, CSS_GLYPH_ORIENTATION_HORIZONTAL_PROPERTY, CSS_GLYPH_ORIENTATION_VERTICAL_PROPERTY, CSS_GRAYTEXT_VALUE, CSS_HANGING_VALUE, CSS_HELP_VALUE, CSS_HIDDEN_VALUE, CSS_HIGHLIGHT_VALUE, CSS_HIGHLIGHTTEXT_VALUE, CSS_IDEOGRAPHIC_VALUE, CSS_IMAGE_RENDERING_PROPERTY, CSS_INACTIVEBORDER_VALUE, CSS_INACTIVECAPTION_VALUE, CSS_INACTIVECAPTIONTEXT_VALUE, CSS_INFOBACKGROUND_VALUE, CSS_INFOTEXT_VALUE, CSS_INLINE_TABLE_VALUE, CSS_INLINE_VALUE, CSS_ITALIC_VALUE, CSS_LARGE_VALUE, CSS_LARGER_VALUE, CSS_LETTER_SPACING_PROPERTY, CSS_LIGHTER_VALUE, CSS_LIGHTING_COLOR_PROPERTY, CSS_LINE_THROUGH_VALUE, CSS_LINEARRGB_VALUE, CSS_LIST_ITEM_VALUE, CSS_LOWER_VALUE, CSS_LR_TB_VALUE, CSS_LR_VALUE, CSS_LTR_VALUE, CSS_MARKER_END_PROPERTY, CSS_MARKER_MID_PROPERTY, CSS_MARKER_PROPERTY, CSS_MARKER_START_PROPERTY, CSS_MARKER_VALUE, CSS_MASK_PROPERTY, CSS_MATHEMATICAL_VALUE, CSS_MEDIUM_VALUE, CSS_MENU_VALUE, CSS_MENUTEXT_VALUE, CSS_MIDDLE_VALUE, CSS_MITER_VALUE, CSS_MONOSPACED_VALUE, CSS_MOVE_VALUE, CSS_N_RESIZE_VALUE, CSS_NARROWER_VALUE, CSS_NE_RESIZE_VALUE, CSS_NEW_VALUE, CSS_NO_CHANGE_VALUE, CSS_NONE_VALUE, CSS_NONZERO_VALUE, CSS_NORMAL_VALUE, CSS_NW_RESIZE_VALUE, CSS_OBLIQUE_VALUE, CSS_OPACITY_PROPERTY, CSS_OPTIMIZELEGIBILITY_VALUE, CSS_OPTIMIZEQUALITY_VALUE, CSS_OPTIMIZESPEED_VALUE, CSS_OVERFLOW_PROPERTY, CSS_OVERLINE_VALUE, CSS_PAINTED_VALUE, CSS_POINTER_EVENTS_PROPERTY, CSS_POINTER_VALUE, CSS_RESET_VALUE, CSS_RL_TB_VALUE, CSS_RL_VALUE, CSS_ROUND_VALUE, CSS_RTL_VALUE, CSS_RUN_IN_VALUE, CSS_S_RESIZE_VALUE, CSS_SANS_SERIF_VALUE, CSS_SCROLL_VALUE, CSS_SCROLLBAR_VALUE, CSS_SE_RESIZE_VALUE, CSS_SEMI_CONDENSED_VALUE, CSS_SEMI_EXPANDED_VALUE, CSS_SERIF_VALUE, CSS_SHAPE_RENDERING_PROPERTY, CSS_SMALL_CAPS_VALUE, CSS_SMALL_VALUE, CSS_SMALLER_VALUE, CSS_SQUARE_VALUE, CSS_SRGB_VALUE, CSS_START_VALUE, CSS_STOP_COLOR_PROPERTY, CSS_STOP_OPACITY_PROPERTY, CSS_STROKE_DASHARRAY_PROPERTY, CSS_STROKE_DASHOFFSET_PROPERTY, CSS_STROKE_LINECAP_PROPERTY, CSS_STROKE_LINEJOIN_PROPERTY, CSS_STROKE_MITERLIMIT_PROPERTY, CSS_STROKE_OPACITY_PROPERTY, CSS_STROKE_PROPERTY, CSS_STROKE_VALUE, CSS_STROKE_WIDTH_PROPERTY, CSS_SUB_VALUE, CSS_SUPER_VALUE, CSS_SW_RESIZE_VALUE, CSS_TABLE_CAPTION_VALUE, CSS_TABLE_CELL_VALUE, CSS_TABLE_COLUMN_GROUP_VALUE, CSS_TABLE_COLUMN_VALUE, CSS_TABLE_FOOTER_GROUP_VALUE, CSS_TABLE_HEADER_GROUP_VALUE, CSS_TABLE_ROW_GROUP_VALUE, CSS_TABLE_ROW_VALUE, CSS_TABLE_VALUE, CSS_TB_RL_VALUE, CSS_TB_VALUE, CSS_TEXT_AFTER_EDGE_VALUE, CSS_TEXT_ANCHOR_PROPERTY, CSS_TEXT_BEFORE_EDGE_VALUE, CSS_TEXT_BOTTOM_VALUE, CSS_TEXT_DECORATION_PROPERTY, CSS_TEXT_RENDERING_PROPERTY, CSS_TEXT_TOP_VALUE, CSS_TEXT_VALUE, CSS_THREEDDARKSHADOW_VALUE, CSS_THREEDFACE_VALUE, CSS_THREEDHIGHLIGHT_VALUE, CSS_THREEDLIGHTSHADOW_VALUE, CSS_THREEDSHADOW_VALUE, CSS_TOP_VALUE, CSS_ULTRA_CONDENSED_VALUE, CSS_ULTRA_EXPANDED_VALUE, CSS_UNDERLINE_VALUE, CSS_UNICODE_BIDI_PROPERTY, CSS_VISIBILITY_PROPERTY, CSS_VISIBLE_VALUE, CSS_VISIBLEFILL_VALUE, CSS_VISIBLEFILLSTROKE_VALUE, CSS_VISIBLEPAINTED_VALUE, CSS_VISIBLESTROKE_VALUE, CSS_W_RESIZE_VALUE, CSS_WAIT_VALUE, CSS_WIDER_VALUE, CSS_WINDOW_VALUE, CSS_WINDOWFRAME_VALUE, CSS_WINDOWTEXT_VALUE, CSS_WORD_SPACING_PROPERTY, CSS_WRITING_MODE_PROPERTY, CSS_X_LARGE_VALUE, CSS_X_SMALL_VALUE, CSS_XX_LARGE_VALUE, CSS_XX_SMALL_VALUE
 
Constructor Summary
protected SVGOMDocument()
          Creates a new uninitialized document.
  SVGOMDocument(DocumentType dt, DOMImplementation impl)
          Creates a new document.
 
Method Summary
 Attr createAttribute(java.lang.String name)
          DOM: Implements Document.createAttribute(String).
 Attr createAttributeNS(java.lang.String namespaceURI, java.lang.String qualifiedName)
          DOM: Implements Document.createAttributeNS(String,String).
 CDATASection createCDATASection(java.lang.String data)
          DOM: Implements Document.createCDATASection(String)
 Comment createComment(java.lang.String data)
          DOM: Implements Document.createComment(String).
 DocumentFragment createDocumentFragment()
          DOM: Implements Document.createDocumentFragment().
 Element createElement(java.lang.String tagName)
          DOM: Implements Document.createElement(String).
 Element createElementNS(java.lang.String namespaceURI, java.lang.String qualifiedName)
          DOM: Implements Document.createElementNS(String,String).
 EntityReference createEntityReference(java.lang.String name)
          DOM: Implements Document.createEntityReference(String).
 ProcessingInstruction createProcessingInstruction(java.lang.String target, java.lang.String data)
          DOM: Implements Document.createProcessingInstruction(String,String).
 Text createTextNode(java.lang.String data)
          DOM: Implements Document.createTextNode(String).
 java.lang.String formatMessage(java.lang.String key, java.lang.Object[] args)
          Implements Localizable.formatMessage(String,Object[]).
protected static Element getById(java.lang.String id, Node node)
          An auxiliary method used by getElementById.
 AbstractView getDefaultView()
          DOM: Implements DocumentView.getDefaultView().
 java.lang.String getDomain()
          DOM: Implements SVGDocument.getDomain().
static java.util.List getDomExtensions()
           
 Element getElementById(java.lang.String elementId)
          DOM: Implements Document.getElementById(String).
 boolean getEventsEnabled()
          Tests whether the event dispatching must be done.
 CSSStyleDeclaration getOverrideStyle(Element elt, java.lang.String pseudoElt)
          DOM: Implements DocumentCSS.getOverrideStyle(Element,String).
 java.lang.String getReferrer()
          DOM: Implements SVGDocument.getReferrer().
 SVGSVGElement getRootElement()
          DOM: Implements SVGDocument.getRootElement().
 StyleSheetList getStyleSheets()
          DOM: Implements DocumentStyle.getStyleSheets().
protected static void getStyleSheets(Node n, DOMStyleSheetList l)
          An auxiliary method for getStyleSheets.
 SVGContext getSVGContext()
          Returns this document context.
 java.lang.String getTitle()
          DOM: Implements SVGDocument.getTitle().
 java.lang.String getURL()
          DOM: Implements SVGDocument.getURL()
 java.net.URL getURLObject()
          Returns the URI of the document.
 boolean isReadonly()
          Tests whether this node is readonly.
protected  Node newNode()
          Returns a new uninitialized instance of this object's class.
 void registerCustomElementFactory(java.lang.String namespaceURI, java.lang.String localName, SVGOMDocument.ElementFactory factory)
          Allows the user to register a new element factory.
protected  void registerExtensions()
           
 void setEventsEnabled(boolean b)
          Sets the eventsEnabled property.
 void setLocale(java.util.Locale l)
          Implements Localizable.setLocale(Locale).
 void setReadonly(boolean v)
          Sets this node readonly attribute.
 void setReferrer(java.lang.String s)
          Sets the referrer string.
 void setSVGContext(SVGContext ctx)
          Sets the document context.
 void setURLObject(java.net.URL url)
          Sets the URI of the document.
 
Methods inherited from class org.apache.batik.dom.AbstractDocument
checkChildType, cloneNode, copyInto, createEvent, createNodeIterator, createTreeWalker, deepCopyInto, deepExport, detachNodeIterator, export, getCurrentDocument, getDoctype, getDocumentElement, getElementsByTagName, getElementsByTagNameNS, getImplementation, getLocale, getNodeName, getNodeType, importNode, nodeToBeRemoved, setDoctype
 
Methods inherited from class org.apache.batik.dom.AbstractParentNode
appendChild, checkAndRemove, deepExport, fireDOMNodeInsertedEvent, fireDOMNodeInsertedIntoDocumentEvent, fireDOMNodeRemovedEvent, fireDOMNodeRemovedFromDocumentEvent, fireDOMSubtreeModifiedEvent, getChildNodes, getElementsByTagName, getElementsByTagNameNS, getFirstChild, getLastChild, hasChildNodes, insertBefore, normalize, removeChild, replaceChild
 
Methods inherited from class org.apache.batik.dom.AbstractNode
addEventListener, createDOMException, dispatchEvent, export, fireDOMCharacterDataModifiedEvent, getAttributes, getEventSupport, getLocalName, getNamespaceURI, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getParentNodeEventTarget, getPrefix, getPreviousSibling, hasAttributes, isSupported, removeEventListener, setNextSibling, setNodeName, setNodeValue, setOwnerDocument, setParentNode, setPrefix, setPreviousSibling, setSpecified
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.w3c.dom.Document
getDoctype, getDocumentElement, getElementsByTagName, getElementsByTagNameNS, getImplementation, importNode
 
Methods inherited from interface org.w3c.dom.Node
appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix
 
Methods inherited from interface org.w3c.dom.events.DocumentEvent
createEvent
 

Field Detail

RESOURCES

protected static final java.lang.String RESOURCES
The error messages bundle class name.

localizableSupport

protected LocalizableSupport localizableSupport
The localizable support for the error messages.

factories

protected HashTable factories
The SVG element factories.

customFactories

protected HashTable customFactories
The custom elements factories.

url

protected java.net.URL url
The url of the document.

readonly

protected boolean readonly
Is this document immutable?

defaultView

protected AbstractView defaultView
The default view.

context

protected SVGContext context
The document context.

referrer

protected java.lang.String referrer
The string representing the referrer.
Constructor Detail

SVGOMDocument

protected SVGOMDocument()
Creates a new uninitialized document.

SVGOMDocument

public SVGOMDocument(DocumentType dt,
                     DOMImplementation impl)
Creates a new document.
Method Detail

registerExtensions

protected void registerExtensions()

registerCustomElementFactory

public void registerCustomElementFactory(java.lang.String namespaceURI,
                                         java.lang.String localName,
                                         SVGOMDocument.ElementFactory factory)
Allows the user to register a new element factory.

newNode

protected Node newNode()
Returns a new uninitialized instance of this object's class.
Overrides:
newNode in class AbstractNode

getSVGContext

public SVGContext getSVGContext()
Returns this document context.

setSVGContext

public void setSVGContext(SVGContext ctx)
Sets the document context.

setLocale

public void setLocale(java.util.Locale l)
Implements Localizable.setLocale(Locale).
Overrides:
setLocale in class AbstractDocument
Following copied from interface: org.apache.batik.i18n.Localizable
Parameters:
l - The locale to set.

formatMessage

public java.lang.String formatMessage(java.lang.String key,
                                      java.lang.Object[] args)
                               throws java.util.MissingResourceException
Implements Localizable.formatMessage(String,Object[]).
Overrides:
formatMessage in class AbstractDocument
Following copied from interface: org.apache.batik.i18n.Localizable
Parameters:
key - The key used to retreive the message from the resource bundle.
args - The objects that compose the message.
Throws:
java.util.MissingResourceException - if the key is not in the bundle.

getTitle

public java.lang.String getTitle()
DOM: Implements SVGDocument.getTitle().
Specified by:
getTitle in interface SVGDocument

getReferrer

public java.lang.String getReferrer()
DOM: Implements SVGDocument.getReferrer().
Specified by:
getReferrer in interface SVGDocument

setReferrer

public void setReferrer(java.lang.String s)
Sets the referrer string.

getDomain

public java.lang.String getDomain()
DOM: Implements SVGDocument.getDomain().
Specified by:
getDomain in interface SVGDocument

getRootElement

public SVGSVGElement getRootElement()
DOM: Implements SVGDocument.getRootElement().
Specified by:
getRootElement in interface SVGDocument

getURL

public java.lang.String getURL()
DOM: Implements SVGDocument.getURL()
Specified by:
getURL in interface SVGDocument

getURLObject

public java.net.URL getURLObject()
Returns the URI of the document.

setURLObject

public void setURLObject(java.net.URL url)
Sets the URI of the document.

getElementById

public Element getElementById(java.lang.String elementId)
DOM: Implements Document.getElementById(String).
Specified by:
getElementById in interface Document
Following copied from interface: org.w3c.dom.Document
Parameters:
elementIdThe - unique id value for an element.
Returns:
The matching element.

getById

protected static Element getById(java.lang.String id,
                                 Node node)
An auxiliary method used by getElementById.

createElement

public Element createElement(java.lang.String tagName)
                      throws DOMException
DOM: Implements Document.createElement(String).
Specified by:
createElement in interface Document
Following copied from interface: org.w3c.dom.Document
Parameters:
tagNameThe - name of the element type to instantiate. For XML, this is case-sensitive. For HTML, the tagName parameter may be provided in any case, but it must be mapped to the canonical uppercase form by the DOM implementation.
Returns:
A new Element object with the nodeName attribute set to tagName, and localName, prefix, and namespaceURI set to null.
Throws:
DOMException - INVALID_CHARACTER_ERR: Raised if the specified name contains an illegal character.

createDocumentFragment

public DocumentFragment createDocumentFragment()
DOM: Implements Document.createDocumentFragment().
Specified by:
createDocumentFragment in interface Document
Following copied from interface: org.w3c.dom.Document
Returns:
A new DocumentFragment.

createTextNode

public Text createTextNode(java.lang.String data)
DOM: Implements Document.createTextNode(String).
Specified by:
createTextNode in interface Document
Following copied from interface: org.w3c.dom.Document
Parameters:
dataThe - data for the node.
Returns:
The new Text object.

createComment

public Comment createComment(java.lang.String data)
DOM: Implements Document.createComment(String).
Specified by:
createComment in interface Document
Following copied from interface: org.w3c.dom.Document
Parameters:
dataThe - data for the node.
Returns:
The new Comment object.

createCDATASection

public CDATASection createCDATASection(java.lang.String data)
                                throws DOMException
DOM: Implements Document.createCDATASection(String)
Specified by:
createCDATASection in interface Document
Following copied from interface: org.w3c.dom.Document
Parameters:
dataThe - data for the CDATASection contents.
Returns:
The new CDATASection object.
Throws:
DOMException - NOT_SUPPORTED_ERR: Raised if this document is an HTML document.

createProcessingInstruction

public ProcessingInstruction createProcessingInstruction(java.lang.String target,
                                                         java.lang.String data)
                                                  throws DOMException
DOM: Implements Document.createProcessingInstruction(String,String).
Specified by:
createProcessingInstruction in interface Document
Returns:
a StyleSheetProcessingInstruction if target is "xml-stylesheet" or a GenericProcessingInstruction otherwise.

createAttribute

public Attr createAttribute(java.lang.String name)
                     throws DOMException
DOM: Implements Document.createAttribute(String).
Specified by:
createAttribute in interface Document
Following copied from interface: org.w3c.dom.Document
Parameters:
nameThe - name of the attribute.
Returns:
A new Attr object with the nodeName attribute set to name, and localName, prefix, and namespaceURI set to null. The value of the attribute is the empty string.
Throws:
DOMException - INVALID_CHARACTER_ERR: Raised if the specified name contains an illegal character.

createEntityReference

public EntityReference createEntityReference(java.lang.String name)
                                      throws DOMException
DOM: Implements Document.createEntityReference(String).
Specified by:
createEntityReference in interface Document
Following copied from interface: org.w3c.dom.Document
Parameters:
nameThe - name of the entity to reference.
Returns:
The new EntityReference object.
Throws:
DOMException - INVALID_CHARACTER_ERR: Raised if the specified name contains an illegal character.
NOT_SUPPORTED_ERR: Raised if this document is an HTML document.

createAttributeNS

public Attr createAttributeNS(java.lang.String namespaceURI,
                              java.lang.String qualifiedName)
                       throws DOMException
DOM: Implements Document.createAttributeNS(String,String).
Specified by:
createAttributeNS in interface Document
Following copied from interface: org.w3c.dom.Document
Parameters:
namespaceURIThe - namespace URI of the attribute to create.
qualifiedNameThe - qualified name of the attribute to instantiate.
Returns:
A new Attr object with the following attributes: AttributeValueNode.nodeNamequalifiedName Node.namespaceURInamespaceURI Node.prefixprefix, extracted from qualifiedName, or null if there is no prefixNode.localNamelocal name, extracted from qualifiedNameAttr.name qualifiedNameNode.nodeValuethe empty string
Throws:
DOMException - INVALID_CHARACTER_ERR: Raised if the specified qualified name contains an illegal character.
NAMESPACE_ERR: Raised if the qualifiedName is malformed, if the qualifiedName has a prefix and the namespaceURI is null, if the qualifiedName has a prefix that is "xml" and the namespaceURI is different from " http://www.w3.org/XML/1998/namespace", or if the qualifiedName is "xmlns" and the namespaceURI is different from " http://www.w3.org/2000/xmlns/".

createElementNS

public Element createElementNS(java.lang.String namespaceURI,
                               java.lang.String qualifiedName)
                        throws DOMException
DOM: Implements Document.createElementNS(String,String).
Specified by:
createElementNS in interface Document
Following copied from interface: org.w3c.dom.Document
Parameters:
namespaceURIThe - namespace URI of the element to create.
qualifiedNameThe - qualified name of the element type to instantiate.
Returns:
A new Element object with the following attributes:AttributeValueNode.nodeName qualifiedNameNode.namespaceURI namespaceURINode.prefixprefix, extracted from qualifiedName, or null if there is no prefixNode.localNamelocal name, extracted from qualifiedNameElement.tagName qualifiedName
Throws:
DOMException - INVALID_CHARACTER_ERR: Raised if the specified qualified name contains an illegal character.
NAMESPACE_ERR: Raised if the qualifiedName is malformed, if the qualifiedName has a prefix and the namespaceURI is null, or if the qualifiedName has a prefix that is "xml" and the namespaceURI is different from " http://www.w3.org/XML/1998/namespace" .

getEventsEnabled

public boolean getEventsEnabled()
Tests whether the event dispatching must be done.
Overrides:
getEventsEnabled in class AbstractDocument

setEventsEnabled

public void setEventsEnabled(boolean b)
Sets the eventsEnabled property.
Overrides:
setEventsEnabled in class AbstractDocument

isReadonly

public boolean isReadonly()
Tests whether this node is readonly.

setReadonly

public void setReadonly(boolean v)
Sets this node readonly attribute.

getStyleSheets

public StyleSheetList getStyleSheets()
DOM: Implements DocumentStyle.getStyleSheets().
Specified by:
getStyleSheets in interface DocumentStyle

getStyleSheets

protected static void getStyleSheets(Node n,
                                     DOMStyleSheetList l)
An auxiliary method for getStyleSheets.

getDefaultView

public AbstractView getDefaultView()
DOM: Implements DocumentView.getDefaultView().
Specified by:
getDefaultView in interface DocumentView
Returns:
a ViewCSS object.

getOverrideStyle

public CSSStyleDeclaration getOverrideStyle(Element elt,
                                            java.lang.String pseudoElt)
DOM: Implements DocumentCSS.getOverrideStyle(Element,String).
Specified by:
getOverrideStyle in interface DocumentCSS
Following copied from interface: org.w3c.dom.css.DocumentCSS
Parameters:
elt - The element whose style is to be modified. This parameter cannot be null.
pseudoElt - The pseudo-element or null if none.
Returns:
The override style declaration.

getDomExtensions

public static java.util.List getDomExtensions()


Copyright © 2001 Apache Software Foundation. All Rights Reserved.